I am a beginning at writing TypeScript definition files and would like to know the difference between the following two constructs:
declare module activedire
The TypeScript team recognized the confusion, and that's why modules without quotes are now called namespaces.
Going forward, internal modules will be called ‘namespace’. We chose to use this term because of the closeness between how this form works and namespaces in other languages [...] http://blogs.msdn.com/b/typescript/archive/2015/07/20/announcing-typescript-1-5.aspx
The quoted modules are ES6 modules, and need to be be imported using an import statement like import 'activedirectory';