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

Method typeToString

internal/checker/printer.go:177–179  ·  view source on GitHub ↗
(t *Type, enclosingDeclaration *ast.Node)

Source from the content-addressed store, hash-verified

175}
176
177func (c *Checker) typeToString(t *Type, enclosingDeclaration *ast.Node) string {
178 return c.typeToStringEx(t, enclosingDeclaration, TypeFormatFlagsAllowUniqueESSymbolType|TypeFormatFlagsUseAliasDefinedOutsideCurrentScope, nil)
179}
180
181func toNodeBuilderFlags(flags TypeFormatFlags) nodebuilder.Flags {
182 return nodebuilder.Flags(flags & TypeFormatFlagsNodeBuilderFlagsMask)

Callers 2

TypeToStringMethod · 0.95

Calls 1

typeToStringExMethod · 0.95

Tested by

no test coverage detected