refactor: refine types and code

This commit is contained in:
Richard 2024-03-27 23:49:33 -07:00
parent 33ecae2f50
commit 382bc3a904
6 changed files with 30 additions and 26 deletions

View file

@ -9,7 +9,7 @@ export type AtomOptions<T> = {
}
export type SyncPayload = {
type: "patch" | "set",
type: "patch" | "init",
data: { [any]: any },
}