-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
A project made with the library is not runnable with Node.js' --experimental-strip-types flag. Indeed, it contains non erasable syntax like enums. Therefore, a project absolutely needs to be transpiled before being executed.
See https://www.totaltypescript.com/erasable-syntax-only.
Potential Solution(s)
Replace all the non erasable syntax. These are mostly enums and class parameter properties as there is no namespace usage.
Enums could be replaced by union types and class parameter properties by regular class parameters declared outside the constructor.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request