Skip to content

Type Alias: ArrayPatch ​

ts
type ArrayPatch = [changes: {
[index: string]: Patch | [unknown] | ArrayPatch;
}, length: number];

Defined in: patch.ts:24

What changed in an array: by index, the elements to patch or replace, and the array's new length. Elements past the new length are gone.

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.