RunJS icon indicating copy to clipboard operation
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.

Open jjjrmy opened this issue 2 years ago • 1 comments

How do I enable this in RunJS?

jjjrmy avatar Jan 25 '23 01:01 jjjrmy

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

lukehaas avatar Jan 25 '23 10:01 lukehaas