Types for monaco not resoving
See original GitHub issueWhen I try to use:
import { monaco } from '@monaco-editor/react';
loader.then(instance => {});
the instance is not resolved as seen here:
I’m wondering if its because you have monaco-editor
as a peerDependency
but you don’t tell people to install it when they install the package?
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Models with "@" in their name do not resolve as dependencies
I'm trying to specify dependencies manually via monaco.editor.createModel() , which works fine for dependency outside of organizations, but if a ...
Read more >monaco-editor typescript not providing suggestions
In monaco-editor if you try to use a union type as a parameter of a function it does not provide you any suggestions....
Read more >@fluentui/monaco-editor - npm
1. Webpack configuration · config ( webpack.Configuration ): Your configuration object. Its entry must be an object (not an array or function), ...
Read more >Building a code editor with Monaco - Expo Blog
To make “Find All References” work, we had to monkeypatch Monaco: This allows Monaco to properlly resolve a model using the URI. Making...
Read more >@monaco-editor/react | Yarn - Package Manager
Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins....
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 FreeTop 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
Top GitHub Comments
I have monaco-editor installed but I still don’t get types in my Create-React-Typescript project. I get partial types but not the full monaco-editor types such as IEditorOptions.
I tried that but it still throws the error namespace monaco not found