MCPcopy Index your code
hub / github.com/microsoft/typescript-go / handleGetLocalTypeParametersOfType

Method handleGetLocalTypeParametersOfType

internal/api/session.go:1534–1536  ·  view source on GitHub ↗
(_ context.Context, params *GetTypePropertyParams)

Source from the content-addressed store, hash-verified

1532}
1533
1534func (s *Session) handleGetLocalTypeParametersOfType(_ context.Context, params *GetTypePropertyParams) ([]*TypeResponse, error) {
1535 return s.resolveTypeArrayPropertyOfType(params, func(t *checker.Type) []*checker.Type { return t.AsInterfaceType().LocalTypeParameters() })
1536}
1537
1538func (s *Session) handleGetAliasTypeArgumentsOfType(_ context.Context, params *GetTypePropertyParams) ([]*TypeResponse, error) {
1539 return s.resolveTypeArrayPropertyOfType(params, func(t *checker.Type) []*checker.Type {

Callers 1

HandleRequestMethod · 0.95

Calls 3

LocalTypeParametersMethod · 0.80
AsInterfaceTypeMethod · 0.65

Tested by

no test coverage detected