Closed falsandtru closed 8 years ago
While i do agree that global namespace pollution is bad, it does exist and ppl build large scale applications and libraries on top of that. i think there is enough user feedback to allow/regulate more of this side effects rather than to limit it. see https://github.com/Microsoft/TypeScript/issues/5269 and https://github.com/Microsoft/TypeScript/issues/5867 to name a few..
All right, thanks.
Ambient module declaration scope should be only own module(node package).
bar
self hosted typings overridden by ambient module declarations infoo
. This is global namespace pollution. Global namespace management should be systematic.