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

Method IsSourceFileDefaultLibrary

internal/compiler/program.go:1548–1551  ·  view source on GitHub ↗
(path tspath.Path)

Source from the content-addressed store, hash-verified

1546}
1547
1548func (p *Program) IsSourceFileDefaultLibrary(path tspath.Path) bool {
1549 _, ok := p.libFiles[path]
1550 return ok
1551}
1552
1553func (p *Program) IsGlobalTypingsFile(fileName string) bool {
1554 if !tspath.IsDeclarationFileName(fileName) {

Callers 2

SkipTypeCheckingMethod · 0.95
collectPackageNamesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected