You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Property 'getValue' does not exist on type 'typeof import("c:/VSCode Projects/snyppit/node_modules/monaco-editor/esm/vs/editor/editor.api")'.ts(2339)
any"
"Property 'setValue' does not exist on type 'typeof import("c:/VSCode Projects/snyppit/node_modules/monaco-editor/esm/vs/editor/editor.api")'.ts(2339)
any"
this is the error in editor panel
The text was updated successfully, but these errors were encountered:
just go on with the project, it will eventually be solved. at first, the Editor is set to null. that's why it's showing error. editor.setValue() sets the code value for the the editor. continue with the project and you'll see. just don't change anything. i had same issue.
just go on with the project, it will eventually be solved. at first, the Editor is set to null. that's why it's showing error. editor.setValue() sets the code value for the the editor. continue with the project and you'll see. just don't change anything. i had same issue.
Actually i just cloned the repo and ran the project (im not a beginner tho, ive been doing web dev for a year). So the project is complete, and i even added some custom themes to it. how did it solve for you?
the error you're getting, is most probably from eslint. that will be there, because by default, the editor is null. and it doesn't have a setvalue() method. the editor, which monacoeditor provides has method, which can be used once the editor mounts. so I guess there won't be any functional problem, just the eslint doing its thing.
here's the error

"Property 'getValue' does not exist on type 'typeof import("c:/VSCode Projects/snyppit/node_modules/monaco-editor/esm/vs/editor/editor.api")'.ts(2339)
any"
"Property 'setValue' does not exist on type 'typeof import("c:/VSCode Projects/snyppit/node_modules/monaco-editor/esm/vs/editor/editor.api")'.ts(2339)
any"
this is the error in editor panel
The text was updated successfully, but these errors were encountered: