ClassifiedSemanticDiff
On this page

ClassifiedSemanticDiff

Interface in Tooling

A SemanticDiff whose differences were classified against a declared transform pipeline (SemanticDiffOptions.transforms).

import type { ClassifiedSemanticDiff } from 'typeshade'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

interface ClassifiedSemanticDiff extends SemanticDiff {
readonly explained: readonly ExplainedDiffEntry[];
}

Description

The four buckets hold only what no declared transform accounts for, which is the part a parity check should fail on. explained holds every difference a declared transform proved intentional, with enough detail to review the classification.

Instance properties

explainedread only readonly ExplainedDiffEntry[]

See also

Source

src/core/semantic-diff.ts, line 88, at commit af54ddad5

Edit this page Report a problem