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

Method JSDiagnostics

internal/ast/ast.go:2588–2590  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2586}
2587
2588func (node *SourceFile) JSDiagnostics() []*Diagnostic {
2589 return node.jsDiagnostics
2590}
2591
2592func (node *SourceFile) SetJSDiagnostics(diags []*Diagnostic) {
2593 node.jsDiagnostics = diags

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected