The definition provider interface defines the contract between extensions and the go to definition and peek definition features.

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

Methods