mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-29 16:29:19 -05:00
Add support for UMD-like module export format
The new module format enables global-less universal modules, compatible with both AMD and CJS module loaders. Fixes #2036.
This commit is contained in:
@@ -1671,6 +1671,7 @@ module ts {
|
||||
None = 0,
|
||||
CommonJS = 1,
|
||||
AMD = 2,
|
||||
UMD = 3,
|
||||
}
|
||||
|
||||
export interface LineAndCharacter {
|
||||
|
||||
Reference in New Issue
Block a user