Interface: X12WarningPartition
The result of partitionWarnings: warnings split into those a profile leads you to EXPECT and those it does not.
Example
import type { X12WarningPartition } from "@cosyte/x12";
declare const p: X12WarningPartition;
p.unexpected.length; // alert only on these
Properties
expected
readonlyexpected: readonlyX12ParseWarning[]
unexpected
readonlyunexpected: readonlyX12ParseWarning[]