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

Method isOrContainsMatchingReference

internal/checker/flow.go:1877–1879  ·  view source on GitHub ↗
(source *ast.Node, target *ast.Node)

Source from the content-addressed store, hash-verified

1875}
1876
1877func (c *Checker) isOrContainsMatchingReference(source *ast.Node, target *ast.Node) bool {
1878 return c.isMatchingReference(source, target) || c.containsMatchingReference(source, target)
1879}
1880
1881// Return a new type in which occurrences of the string, number and bigint primitives and placeholder template
1882// literal types in typeWithPrimitives have been replaced with occurrences of compatible and more specific types

Callers 1

hasMatchingArgumentMethod · 0.95

Calls 2

isMatchingReferenceMethod · 0.95

Tested by

no test coverage detected