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

Method IsSourceFromProjectReference

internal/compiler/program.go:183–185  ·  view source on GitHub ↗

IsSourceFromProjectReference implements checker.Program.

(path tspath.Path)

Source from the content-addressed store, hash-verified

181
182// IsSourceFromProjectReference implements checker.Program.
183func (p *Program) IsSourceFromProjectReference(path tspath.Path) bool {
184 return p.projectReferenceFileMapper.isSourceFromProjectReference(path)
185}
186
187func (p *Program) GetProjectReferenceFromOutputDts(path tspath.Path) *tsoptions.SourceOutputAndProjectReference {
188 return p.projectReferenceFileMapper.getProjectReferenceFromOutputDts(path)

Callers 1

SkipTypeCheckingMethod · 0.95

Calls 1

Tested by

no test coverage detected