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