Skip to content

DeclarationProvider

原文链接

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

ts
interface DeclarationProvider {
    provideDeclaration(model, position, token): ProviderResult<Definition>;
}

provideDeclaration