UNPKG

597 BTypeScriptView Raw
1export declare type ObjMap<T> = Record<string, T>;
2export declare type ObjMapReadOnly<T> = Readonly<Record<string, Readonly<T>>>;
3export declare type MaybePromise<T> = Promise<T> | T;
4export declare type Thunk<T> = (() => any) | T;
5export declare type ThunkWithSchemaComposer<T, SC> = ((schemaComposer: SC) => T) | T;
6export declare type DirectiveArgs = {
7 [key: string]: any;
8};
9export declare type Directive = {
10 name: string;
11 args?: DirectiveArgs;
12};
13export declare type Extensions = {
14 [key: string]: any;
15 directives?: Directive[];
16};
17//# sourceMappingURL=definitions.d.ts.map
\No newline at end of file