RunJS
RunJS copied to clipboard
The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.
How do I enable this in RunJS?
@jjjrmy this option is not currently exposed by RunJS. However, it will be enabled by default when Babel 8 is released.