deepkit / deepkit-framework

A new full-featured and high-performance TypeScript framework
https://deepkit.io/
MIT License
3.24k stars 123 forks source link

not work on namespace #569

Closed s97712 closed 5 months ago

s97712 commented 6 months ago
namespace Foo {
  export type Bar = number
}
export type Bar = number

console.log(typeOf<Foo.Bar>())
// output: { kind: 0, typeName: undefined }

console.log(typeOf<Bar>())
// output: { kind: 6, typeName: 'Bar', id: 17 }
marcj commented 6 months ago

namespaces are not supported