The new module format enables global-less universal modules, compatible with both AMD and CJS module loaders. Fixes #2036.
5 lines
91 B
TypeScript
5 lines
91 B
TypeScript
//@module: umd
|
|
///<amd-dependency path='bar' name='b'/>
|
|
|
|
import m1 = require("m2")
|
|
m1.f();
|