grunt-ts
grunt-ts copied to clipboard
Internal and external modules
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.
"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