Core Node: SourceDiagnostic
Functions, types, and exports for Core Node: SourceDiagnostic.
Page outline
import type { SourceDiagnostic } from "@palamedes/core-node"
type SourceDiagnostic = Omit<NativeSourceDiagnostic, "severity"> & {
severity: SourceDiagnosticSeverity;
};
Properties
| Name | Type | Required |
|---|---|---|
code | string | Yes |
file | string | Yes |
primary | NativeSourceRange | Yes |
message | string | Yes |
help | string | Yes |
related | NativeSourceRange | No |
severity | SourceDiagnosticSeverity | Yes |
Last updated: November 1, 2026