Initial boiler plate project
This commit is contained in:
7
node_modules/next/dist/lib/coalesced-function.d.ts
generated
vendored
Normal file
7
node_modules/next/dist/lib/coalesced-function.d.ts
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
type CoalescedInvoke<T> = {
|
||||
isOrigin: boolean;
|
||||
value: T;
|
||||
};
|
||||
export type UnwrapPromise<T> = T extends Promise<infer U> ? U : T;
|
||||
export declare function withCoalescedInvoke<F extends (...args: any) => any>(func: F): (key: string, args: Parameters<F>) => Promise<CoalescedInvoke<UnwrapPromise<ReturnType<F>>>>;
|
||||
export {};
|
||||
Reference in New Issue
Block a user