Skip to content

LanguageServiceRegistration

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.html.LanguageServiceRegistration.html

ts
interface LanguageServiceRegistration {
    defaults: languages.html.LanguageServiceDefaults;
    dispose(): void;
}

defaults

dispose

  • 语法:dispose(): void