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