大活
This commit is contained in:
14
art-agent/frontend/node_modules/next/dist/server/use-cache/use-cache-wrapper.d.ts
generated
vendored
Normal file
14
art-agent/frontend/node_modules/next/dist/server/use-cache/use-cache-wrapper.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import { type SearchParams } from '../request/search-params';
|
||||
import type { Params } from '../request/params';
|
||||
export interface UseCachePageComponentProps {
|
||||
params: Promise<Params>;
|
||||
searchParams: Promise<SearchParams>;
|
||||
$$isPageComponent: true;
|
||||
}
|
||||
export type UseCacheLayoutComponentProps = {
|
||||
params: Promise<Params>;
|
||||
$$isLayoutComponent: true;
|
||||
} & {
|
||||
[slot: string]: any;
|
||||
};
|
||||
export declare function cache(kind: string, id: string, boundArgsLength: number, originalFn: (...args: unknown[]) => Promise<unknown>): (...args: any[]) => Promise<unknown>;
|
||||
Reference in New Issue
Block a user