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

Struct TypeBase

internal/checker/types.go:853–855  ·  view source on GitHub ↗

TypeBase

Source from the content-addressed store, hash-verified

851// TypeBase
852
853type TypeBase struct {
854 Type
855}
856
857func (t *TypeBase) AsType() *Type { return &t.Type }
858func (t *TypeBase) AsConstrainedType() *ConstrainedType { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected