Open lschierer opened 1 year ago
const enums cause errors with either isolatedModules or verbatimmodulesyntax, See https://www.typescriptlang.org/tsconfig#isolatedModules for example
This pull request is one possible fix, it changes the const enums to simply enums. I'm not sure this is the right fix, https://www.typescriptlang.org/docs/handbook/enums.html#ambient-enums suggests that changing them to const objects may be better.
const enums cause errors with either isolatedModules or verbatimmodulesyntax, See https://www.typescriptlang.org/tsconfig#isolatedModules for example
This pull request is one possible fix, it changes the const enums to simply enums. I'm not sure this is the right fix, https://www.typescriptlang.org/docs/handbook/enums.html#ambient-enums suggests that changing them to const objects may be better.