19ec83fcdf
* 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
22 lines
238 B
TypeScript
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
|
|
}
|
|
}
|