client: update type

pull/82/head
fantasticit 2022-06-14 22:28:12 +08:00
parent b38d6ce507
commit 4148b63c67
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}>; }>;