Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve type of defaultOptions #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aceArt-GmbH
Copy link

Thanks for maintaining this fork.
While trying to use it, I was not sure what the option keys for defaultOptions are called and which exist.
So I added the type to it. Inspired by https://github.com/go-gitea/gitea/blob/063c23e1bcf52fde5bda82d0c1dbe7dd04e2771f/web_src/js/features/codeeditor.ts#L8-L11

This might be a breaking change, but actually just fixes types

Does requireConfig need this too?
Do you want to use this type in the rest of the component? Like https://github.com/miki995/ngx-monaco-editor-v2/blob/master/projects/editor/src/lib/editor.component.ts#L41

@aceArt-GmbH
Copy link
Author

Also, why did you disable/remove the issues 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants