UNPKG

@graphql-tools/utils

Version:

Common package containing utils and types for GraphQL tools

5 lines (4 loc) 270 B
export declare function fakeRejectPromise(error: unknown): Promise<never>; export declare function fakePromise<const T>(value: T): Promise<T>; export declare function fakePromise<T>(value: T): Promise<T>; export declare function fakePromise(value: void): Promise<void>;