Skip to content

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

NameTypeRequired
codestringYes
filestringYes
primaryNativeSourceRangeYes
messagestringYes
helpstringYes
relatedNativeSourceRangeNo
severitySourceDiagnosticSeverityYes

Source entry on GitHub

Last updated: November 1, 2026