Skip to content

[I] DiagnosticCreator

Type Parameters

Type Parameter
T extends object

Properties

PropertyModifierType
diagnosticsreadonlyDiagnosticMap<T>
typereadonlyT

Methods

createDiagnostic()

createDiagnostic<C, M>(diag): Diagnostic

Type Parameters

Type ParameterDefault type
C extends string | number | symbol-
M extends string | number | symbol"default"

Parameters

ParameterType
diagDiagnosticReport<T, C, M>

Returns

Diagnostic


reportDiagnostic()

reportDiagnostic<C, M>(program, diag): void

Type Parameters

Type ParameterDefault type
C extends string | number | symbol-
M extends string | number | symbol"default"

Parameters

ParameterType
programProgram
diagDiagnosticReport<T, C, M>

Returns

void