UNPKG

@graphql-tools/code-file-loader

Version:

A set of utils for faster development of GraphQL tools

16 lines (15 loc) 408 B
import { DocumentNode, GraphQLSchema } from 'graphql'; /** * @internal */ export declare function pickExportFromModule({ module, filepath }: { module: any; filepath: string; }): Promise<DocumentNode | GraphQLSchema | null>; /** * @internal */ export declare function pickExportFromModuleSync({ module, filepath }: { module: any; filepath: string; }): DocumentNode | GraphQLSchema | null;