Using recent TypeScript features (e.g. private fields) #255
Labels
compat
CJS/UMD/etc
enhancement
New feature or request
upstream
Related to or blocked on an upstream project
If I modify the demo to do the following:
...this causes
Uncaught SyntaxError: Private field '#privateField' must be declared in an enclosing class
If I try to use it for an existing project:
...I get errors like:
The project in question has a recent enough TypeScript as a dependency, but I gather that
wmr
is using something else. I'd love to try outwmr
, but being able to use recent TypeScript without fuss is rather important. Is this something that is meant to be supported, and/or is there something simple I can do to enable it?The text was updated successfully, but these errors were encountered: