UNPKG

jok

Version:

Bundle of utility functions for code generation related to nodejs and graphql

5 lines (4 loc) 357 B
import { IntrospectionType } from 'graphql'; import { RootType } from '../utils/rootType'; declare const _default: (typeName: RootType | 'watchQuery' | 'refetchQuery' | 'cacheWriteQuery', otherTypes: IntrospectionType[], generateDefaultFragments: boolean, onlyDocument?: boolean) => (queryType: IntrospectionType) => string | null; export default _default;