[T] LinterRuleDiagnosticFormat
type LinterRuleDiagnosticFormat<T, M> = T[M] extends CallableMessage<infer A> ? object : Record<string, unknown>;Requires a format substitution map when the selected rule message is callable.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends DiagnosticMessages | - |
M extends keyof T | "default" |