[I] DiagnosticCreator
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
T extends object |
Properties
Section titled “Properties”| Property | Modifier | Type |
|---|---|---|
diagnostics | readonly | DiagnosticMap<T> |
type | readonly | T |
Methods
Section titled “Methods”createDiagnostic()
Section titled “createDiagnostic()”createDiagnostic<C, M>(diag): Diagnostic;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
C extends string | number | symbol | - |
M extends string | number | symbol | "default" |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
diag | DiagnosticReport<T, C, M> |
Returns
Section titled “Returns”reportDiagnostic()
Section titled “reportDiagnostic()”reportDiagnostic<C, M>(program, diag): void;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
C extends string | number | symbol | - |
M extends string | number | symbol | "default" |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
diag | DiagnosticReport<T, C, M> |
Returns
Section titled “Returns”void