Skip to content

Commit

Permalink
update Persistor type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemichele committed Feb 20, 2025
1 parent 3e7bf86 commit 862ef7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,13 @@ createMigrate(
### `type Persistor`
```js
{
pause: () => void,
persist: () => void,
purge: () => Promise<void>,
flush: () => Promise<void>,
dispatch: (action: PersistorAction) => PersistorAction,
getState: () => PersistorState,
subscribe: (callback: PersistorSubscribeCallback) => any
}
```

Expand Down

0 comments on commit 862ef7c

Please sign in to comment.