Skip to content

Interface: IrDifference ​

Properties ​

actual ​

actual: string

The output value, likewise.


declaredBy ​

declaredBy: FidelityNote | null

The note that declares this difference, when one does.


expected ​

expected: string

The source value, JSON-encoded and truncated for reporting. '—' when absent.


field ​

field: string

The option name the difference is about — the last object key on path, or '*' when a whole call is present on one side only. This is what a note's construct is matched against, which is why construct has to name a field path rather than describe one.


kind ​

kind: DifferenceKind


nestedNames ​

nestedNames: string[]

Shape names nested inside the same call — a group's children. A note scoped to one of these also declares differences reported against the call that carries it.


path ​

path: string

Where in the slide's projection, e.g. calls[4].args[1].line.width.


shapeName ​

shapeName: string | null

Source shape name, when the difference sits inside a call that has one.


slideNumber ​

slideNumber: number

1-based source slide.