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

Method GetSuggestionDiagnostics

internal/compiler/program.go:672–674  ·  view source on GitHub ↗
(ctx context.Context, sourceFile *ast.SourceFile)

Source from the content-addressed store, hash-verified

670}
671
672func (p *Program) GetSuggestionDiagnostics(ctx context.Context, sourceFile *ast.SourceFile) []*ast.Diagnostic {
673 return p.collectCheckerDiagnostics(ctx, sourceFile, p.getSuggestionDiagnosticsWithChecker)
674}
675
676func (p *Program) GetProgramDiagnostics() []*ast.Diagnostic {
677 return SortAndDeduplicateDiagnostics(core.Concatenate(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected