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

@ -21,16 +21,16 @@ export type SyncPayload = types.SyncPayload
return {
atom = atom,
capture = capture,
derive = derive,
effect = effect,
isAtom = isAtom,
map = map,
observe = observe,
subscribe = subscribe,
unwrap = unwrap,
capture = capture,
sync = sync,
useAtom = useAtom,
useAtomState = useAtomState,
useSetAtom = useSetAtom,
subscribe = subscribe,
sync = sync,
unwrap = unwrap,
}