Closed elsassph closed 5 years ago
TypeScript const enums have significant limitations when included in .d.ts - it should be possible to generate a .ts file along the .d.ts to provide concrete enums which will work with --transpileOnly/--preserveConstEnums and possibly Babel.
const enums
.d.ts
.ts
--transpileOnly/--preserveConstEnums
TypeScript
const enums
have significant limitations when included in.d.ts
- it should be possible to generate a.ts
file along the.d.ts
to provide concrete enums which will work with--transpileOnly/--preserveConstEnums
and possibly Babel.