chore: address comments and fix some other issues

This commit is contained in:
waterplea
2022-05-09 16:50:43 +03:00
parent 4becce1084
commit f3bc3832a6
7 changed files with 33 additions and 39 deletions

View File

@@ -1,7 +1,7 @@
import { Operation } from './json-patch-lib'
// revise a collection of nodes.
export type Revision = { id: number, patch: Operation[], expireId: string | null }
export type Revision = { id: number, patch: Operation<unknown>[], expireId: string | null }
// dump/replace the entire store with T
export type Dump<T> = { id: number, value: T, expireId: string | null }