Skip to content

[T] DiagnosticReportWithoutTarget

type DiagnosticReportWithoutTarget<T, C, M> = object & DiagnosticFormat<T, C, M>;

Input to a diagnostic factory before a source target is attached.

NameTypeDescription
codeCUnqualified code declared in the diagnostic map.
codefixes?readonly CodeFix[]Optional fixes to attach to the created diagnostic without executing them.
messageId?MMessage variant to format; omitted selects "default".
Type ParameterDefault type
T extends object-
C extends keyof T-
M extends keyof T[C]"default"