We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed0453a commit c3133d0Copy full SHA for c3133d0
test/type/mutate.ts
@@ -61,12 +61,12 @@ export function useMutatorTypes() {
61
const { mutate } = useSWR<string>('')
62
63
mutate(async () => '1')
64
+ mutate(async () => '1', { populateCache: false })
65
66
// @ts-expect-error
67
mutate(async () => 1)
-
68
- // FIXME: this should work.
69
- // mutate(async () => 1, { populateCache: false })
+ // @ts-expect-error
+ mutate(async () => 1, { populateCache: false })
70
}
71
72
export function useConfigMutate() {
0 commit comments