Function
makeSlice
(from: number, until: number)
Source from the content-addressed store, hash-verified
| 82 | }) |
| 83 | |
| 84 | const makeSlice = <Value, Patch>(from: number, until: number): Differ.Differ.ReadonlyArray.Patch<Value, Patch> => { |
| 85 | const o = Object.create(SliceProto) |
| 86 | o.from = from |
| 87 | o.until = until |
| 88 | return o |
| 89 | } |
| 90 | |
| 91 | interface Update<Value, Patch> extends Differ.Differ.ReadonlyArray.Patch<Value, Patch> { |
| 92 | readonly _tag: "Update" |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…