lukehaas / RunJS

RunJS is a JavaScript playground for macOS, Windows and Linux. Write code with instant feedback and access to Node.js and browser APIs.
https://runjs.app
2.03k stars 44 forks source link

The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled. #526

Open jjjrmy opened 1 year ago

jjjrmy commented 1 year ago

How do I enable this in RunJS?

lukehaas commented 1 year ago

@jjjrmy this option is not currently exposed by RunJS. However, it will be enabled by default when Babel 8 is released.