Skip to content

Commit

Permalink
Update src/types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Feb 18, 2022
1 parent 9e50253 commit 377efaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Expand Up @@ -145,7 +145,7 @@ export type MutatorCallback<Data = any> = (
export type MutatorOptions<Data = any> = {
revalidate?: boolean
populateCache?: boolean | ((result: any, currentData: Data) => Data)
optimisticData?: Data | ((data?: Data) => Data)
optimisticData?: Data | ((currentData?: Data) => Data)
rollbackOnError?: boolean
}

Expand Down

0 comments on commit 377efaa

Please sign in to comment.