TypeScript/tests/baselines/reference/enumDecl1.js
Wesley Wigham 19ec83fcdf
Refactor declaration emitter into declaration transformer (#21930)
* Refactor declaration emitter into declaration transformer

* Slight cleanup from code review feedback

* Incorporate fix for new test

* Swaths of PR feedback

* Merge public methods

* Per-file output

* Preserve input import ordering more often

* Unify jsdoc comment start detection under more lenient rule

* Move to per-file transformations to reduce the memory that msut be retained

* Fix typo
2018-03-15 22:23:10 -07:00

22 lines
238 B
TypeScript

//// [enumDecl1.ts]
declare module mAmbient {
enum e {
x,
y,
z
}
}
//// [enumDecl1.js]
//// [enumDecl1.d.ts]
declare module mAmbient {
enum e {
x,
y,
z
}
}