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

Method AsObjectType

internal/checker/types.go:714–714  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

712func (t *Type) AsConstrainedType() *ConstrainedType { return t.data.AsConstrainedType() }
713func (t *Type) AsStructuredType() *StructuredType { return t.data.AsStructuredType() }
714func (t *Type) AsObjectType() *ObjectType { return t.data.AsObjectType() }
715func (t *Type) AsTypeReference() *TypeReference { return t.data.AsTypeReference() }
716func (t *Type) AsInterfaceType() *InterfaceType { return t.data.AsInterfaceType() }
717func (t *Type) AsUnionOrIntersectionType() *UnionOrIntersectionType {

Callers 3

TargetMethod · 0.95
MapperMethod · 0.95

Calls 1

AsObjectTypeMethod · 0.65

Tested by

no test coverage detected