Theia API Documentation v1.65.0
    Preparing search index...

    The type definition provider defines the contract between extensions and the go to type definition feature.

    interface TypeDefinitionProvider {
        provideTypeDefinition(
            document: TextDocument,
            position: Position,
            token: CancellationToken,
        ): ProviderResult<Definition | LocationLink[]>;
    }
    Index

    Methods