Closed arv closed 2 years ago
Something that may type check a bit better, and also can more easily expose additional internal apis.
interface ReplicacheInternalOptions { receiveInternalAPI?: (internalAPI: ReplicacheInternalAPI) => void; } interface ReplicacheInternalAPI { persist(): Promise<void>; }
_Originally posted by @grgbkr in https://github.com/rocicorp/replicache/pull/950#discussion_r852241658_
Something that may type check a bit better, and also can more easily expose additional internal apis.
_Originally posted by @grgbkr in https://github.com/rocicorp/replicache/pull/950#discussion_r852241658_