16 lines
395 B
Plaintext
16 lines
395 B
Plaintext
/* @flow strict */
|
|
|
|
export type ObjMap<T> = { [key: string]: T, __proto__: null };
|
|
export type Thunk<+T> = (() => T) | T;
|
|
export type MaybePromise<+T> = Promise<T> | T;
|
|
|
|
export type DirectiveArgs = { [key: string]: any };
|
|
export type ExtensionsDirective = {
|
|
name: string,
|
|
args: DirectiveArgs,
|
|
};
|
|
export type Extensions = {
|
|
[key: string]: any,
|
|
directives?: Array<ExtensionsDirective>,
|
|
};
|