DiagnosticsCollector
Defined in: packages/analyzer/src/shared/diagnostics.ts:11
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DiagnosticsCollector(): DiagnosticsCollector;Returns
Section titled “Returns”DiagnosticsCollector
Methods
Section titled “Methods”all(): AnalyzerDiagnostic[];Defined in: packages/analyzer/src/shared/diagnostics.ts:18
Returns
Section titled “Returns”hasErrors()
Section titled “hasErrors()”hasErrors(): boolean;Defined in: packages/analyzer/src/shared/diagnostics.ts:22
Returns
Section titled “Returns”boolean
push()
Section titled “push()”push(d): void;Defined in: packages/analyzer/src/shared/diagnostics.ts:14
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
d |
AnalyzerDiagnostic |
Returns
Section titled “Returns”void