You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node_modules/tsutils/src/utils.d.ts(22,27): error TS1209: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.
node_modules/tsutils/src/utils.d.ts(30,27): error TS1209: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
With the isolated modules flag on, I should be able to import any arbitrary external module without errors about using const enums improperly.
TypeScript Version: 2.7.0-dev.20171230
Code
See: https://github.com/berickson1/Playground/blob/master/isolatedModuleError.ts
Expected behavior:
Compiles without error
Actual behavior:
Errors as below:
npm run build
node_modules/tsutils/src/utils.d.ts(22,27): error TS1209: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.
node_modules/tsutils/src/utils.d.ts(30,27): error TS1209: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.
The text was updated successfully, but these errors were encountered: