* Emit amd-module and amd-dependency comments in emitter if printing declaration comments * Move code a bit * Move again
9 lines
238 B
TypeScript
9 lines
238 B
TypeScript
// @declaration: true
|
|
// @module: umd
|
|
// @filename: foo.ts
|
|
/// <amd-module name="name_of_foo"/>
|
|
export const foo = 1;
|
|
// @filename: bar.ts
|
|
/// <amd-dependency name="name_of_foo" path="./foo" />
|
|
import {foo} from './foo';
|
|
void foo; |