bazingaedward / monaco-editor-vue3

Monaco Editor for Vue3
MIT License
89 stars 17 forks source link

TypeScript errors #12

Closed dannysmc95 closed 1 year ago

dannysmc95 commented 1 year ago

Hi there, I keep seeing this issue:

image

Current code is this: image

Lyokolux commented 1 year ago

Hi there, I keep seeing this issue:

image

Current code is this: image

Can be reproduced with "vite": "^3.0.0" and "monaco-editor-vue3": "^0.1.6"

dannysmc95 commented 1 year ago

@Lyokolux the developer does not seem active anymore, I was able to avoid the above issue by simply copying the main file into my code base and using it directly (works fine).

bazingaedward commented 1 year ago

@dannysmc95 could you give demo base on stackblitz?

bazingaedward commented 1 year ago

I'm sorry, I couldn't reproduce the corresponding error. Please check the relevant TypeScript configuration.

dannysmc95 commented 1 year ago

@bazingaedward

@dannysmc95 could you give demo base on stackblitz?

Sorry for such a delayed response, we stopped using the package when we hit the issue, and just used Monaco directly, apologies.

Lyokolux commented 1 year ago

@bazingaedward

@dannysmc95 could you give demo base on stackblitz?

Sorry for such a delayed response, we stopped using the package when we hit the issue, and just used Monaco directly, apologies.

So basically, we do the same and created our own MonacoEditor component