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

interface DefinitionProvider {
    provideDefinition(model, position, token): ProviderResult<Definition>;
}

Methods