@graphql-tools/load
Version:
A set of utils for faster development of GraphQL tools
5 lines (4 loc) • 301 B
TypeScript
import { Source } from '@graphql-tools/utils';
import { LoadTypedefsOptions } from '../load-typedefs.js';
export declare function loadFile(pointer: string, options: LoadTypedefsOptions): Promise<Source[]>;
export declare function loadFileSync(pointer: string, options: LoadTypedefsOptions): Source[];