Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(eks): remove 'const' from NodeType enum (#1970)
'const enums' are inlined at the usage site by TypeScript and so the generated type will not be in the JavaScript source code in the assembly, even though the declaration will be there. This leads to "symbol not found" errors upon trying to load it. https://www.typescriptlang.org/docs/handbook/enums.html#const-enums Fixes #1969
- Loading branch information
Should we create a lint/jsii rule to prevent this in the future?