MCPcopy Create free account
hub / github.com/microsoft/typescript-go / handleTypeDefinition

Method handleTypeDefinition

internal/lsp/server.go:1565–1567  ·  view source on GitHub ↗
(ctx context.Context, ls *ls.LanguageService, params *lsproto.TypeDefinitionParams)

Source from the content-addressed store, hash-verified

1563}
1564
1565func (s *Server) handleTypeDefinition(ctx context.Context, ls *ls.LanguageService, params *lsproto.TypeDefinitionParams) (lsproto.TypeDefinitionResponse, error) {
1566 return ls.ProvideTypeDefinition(ctx, params.TextDocument.Uri, params.Position)
1567}
1568
1569func (s *Server) handleCompletion(ctx context.Context, languageService *ls.LanguageService, params *lsproto.CompletionParams) (lsproto.CompletionResponse, error) {
1570 return languageService.ProvideCompletion(

Callers

nothing calls this directly

Calls 1

ProvideTypeDefinitionMethod · 0.80

Tested by

no test coverage detected