UNPKG

442 BTypeScriptView Raw
1import { DocumentNode } from 'graphql';
2import { VariableMap } from './graphql';
3export declare function filter<FD = any, D extends FD = any>(doc: DocumentNode, data: D, variableValues?: VariableMap): FD;
4export declare function check(doc: DocumentNode, data: any, variables?: VariableMap): void;
5export declare function propType(doc: DocumentNode, mapPropsToVariables?: (props: any) => any): any;
6//# sourceMappingURL=utilities.d.ts.map
\No newline at end of file