Diff <N, V>
Index
Constructors
constructor
Type parameters
- N: UnknownNode = UnknownNode
- V = unknown
Parameters
node: N
action: DiffAction
field: string
value: V
Returns Diff<N, V>
Properties
readonlyaction
readonlyfield
readonlynode
readonlyvalue
Methods
toJSON
Overrides JSON.serialize() to output a more succinct representation of diff.
Returns { action: string; field: string; node: string; value: string | V }
action: string
field: string
node: string
value: string | V
Functions/Diff