Environment
Node v24.3.0
Jiti v2.5.1
Reproduction
namespace MyNamespace {
export const value = 123;
}
console.log(MyNamespace.value);
Describe the bug
When trying to access any exported member inside a TypeScript namespace, I get the following error in v2.6.0:
TypeError: Cannot read properties of undefined (reading '<memberName>')
Additional context
Downgrading to v2.5.1 resolves the issue.
Logs