[T] DiagnosticReportWithoutTarget
type DiagnosticReportWithoutTarget<T, C, M> = object & DiagnosticFormat<T, C, M>;Input to a diagnostic factory before a source target is attached.
Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
code | C | Unqualified code declared in the diagnostic map. |
codefixes? | readonly CodeFix[] | Optional fixes to attach to the created diagnostic without executing them. |
messageId? | M | Message variant to format; omitted selects "default". |
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends object | - |
C extends keyof T | - |
M extends keyof T[C] | "default" |