[I] DiagnosticCreator
Type Parameters
Section titled “Type Parameters”| Type Parameter | 
|---|
| Textendsobject | 
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 | 
|---|---|
| Cextendsstring|number|symbol | - | 
| Mextendsstring|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 | 
|---|---|
| Cextendsstring|number|symbol | - | 
| Mextendsstring|number|symbol | "default" | 
Parameters
Section titled “Parameters”| Parameter | Type | 
|---|---|
| program | Program | 
| diag | DiagnosticReport<T,C,M> | 
Returns
Section titled “Returns”void