unknown Expression of type "ClassExpression
See original GitHub issue**monaco-editor version:0.21.2 **Browser:Chrome **OS:Macos Playground code that reproduces the issue: **Typescript version 4.0.2
TypeScript compiler gives an error node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordDistance.js: unknown Expression of type "ClassExpression"
When I install versions 0.21.2 and 0.21.1 but version 0.2.0 works fine.
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
Suprising Babel error after upgrading a Node.js module ...
... <path>/node_modules/monaco-editor/esm/vs/editor/contrib/suggest/wordDistance.js: unknown Expression of type "ClassExpression" at Array.
Read more >babel/types
AST Node ClassExpression shape: id : Identifier (default: null ); superClass : Expression (default: null ); body : ClassBody (required) ...
Read more >@babel/plugin-transform-member-expression-literals | Yarn
Intro. Babel is a tool that helps you write code in the latest version of JavaScript. When your supported environments don't support certain...
Read more >Class: Expression - LiquidJS
+ new Expression( tokens : IterableIterator‹Token›): Expression ... undefined | false | true): Generator‹unknown, unknown, unknown›.
Read more >Documentation - TypeScript 1.6
TypeScript 1.6 supports embedding, type checking, and optionally compiling JSX ... In a class expression, the class name is optional and, if specified, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
create-react-app 4.0.0 has been released and supports typescript 4. I still have to downgrade to monoco-editor 0.20.0 for it to build.
Has anyone found a workaround for this? I’m surprised nobody has tried to build ESM Monaco-editor within react in the past 9 months.
The FB regenerator project looks like it hasn’t had a public release in over 4 years.