ExplainedDiffEntry
Interface in Tooling
One diff line that a declared transform explains: applying transform to the reference side made line disappear from bucket.
import type { ExplainedDiffEntry } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface ExplainedDiffEntry { readonly transform: string; readonly bucket: SemanticDiffBucket; readonly line: string;}Description
The line keeps its - or +
prefix. A - line is a fact of a the transform rewrote away; a + line is a fact
of b the transformed reference now also has. transform is the plugin’s
identity ?? name, the same spelling emitIdentity reports.
Instance properties
transformread onlystringbucketread onlySemanticDiffBucketlineread onlystring
See also
Source
src/core/semantic-diff.ts, line 103, at commit 26de7be8