Skip to main content
Version: v0.0.2

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

readonly expected: readonly X12ParseWarning[]


unexpected

readonly unexpected: readonly X12ParseWarning[]