grunt-ts icon indicating copy to clipboard operation
grunt-ts copied to clipboard

Internal and external modules

Open Vadorequest opened this issue 10 years ago • 1 comments
trafficstars

Hi. I'm confused about the meaning of these terms. What is an external module? What difference does it make? It seems to me like AMD/CommonJS are internal and requireJs is external. But I don't understand why we need to do any differenciation.

Thank you.

Vadorequest avatar Oct 09 '15 15:10 Vadorequest

"Internal module" and "external module" are TypeScript terms used in TypeScript 1.4 and earlier.

In TypeScript 1.5 and higher these terms have been renamed as "namespace" and "module", respectively, but we haven't necessarily updated the language used in grunt-ts or its documentation.

See here for details: TypeScript Wiki Bas' book - namespaces Bas' book - modules

nycdotnet avatar Oct 09 '15 18:10 nycdotnet