3 ms·
It looks like there is a lot of legacy code hanging out in the compiler [1], i.e. prefer module over namespaces. [1] - https://github.com/Microsoft/TypeScript/
by olingern 9y ago
It looks like there is a lot of legacy code hanging out in the compiler [1], i.e. prefer module over namespaces.
[1] - https://github.com/Microsoft/TypeScript/blob/master/src/compiler/watch.ts https://github.com/Microsoft/TypeScript/blob/master/src/comp...
It's also strange to me why they inline their interfaces, rather than organizing them in a common folder / module.