mirror of https://github.com/fantasticit/think.git
client: update type
This commit is contained in:
parent
b38d6ce507
commit
4148b63c67
|
@ -2,7 +2,7 @@ import { NextPageContext } from 'next';
|
||||||
import { dehydrate, QueryClient } from 'react-query';
|
import { dehydrate, QueryClient } from 'react-query';
|
||||||
|
|
||||||
type PrefetchActions = Array<{
|
type PrefetchActions = Array<{
|
||||||
url: string;
|
url: string | (string | number)[];
|
||||||
action: (cookie: string) => void;
|
action: (cookie: string) => void;
|
||||||
ignoreCookie?: boolean;
|
ignoreCookie?: boolean;
|
||||||
}>;
|
}>;
|
||||||
|
|
Loading…
Reference in New Issue