materiahq / ngx-monaco-editor

Monaco Editor Library for Angular v6 and above
MIT License
159 stars 35 forks source link

Interface error after installation #95

Open alsoicode opened 2 years ago

alsoicode commented 2 years ago

When installing the package into an Angular 13 app using Node 16, I'm getting the following error in monaco.d.ts

Cannot redeclare block-scoped variable 'MonacoEnvironment'.ts(2451)
[editor.api.d.ts(12, 9): ]()'MonacoEnvironment' was also declared here.

On line 6 of monaco.d.ts. Removing the line allows compilation to succeed.