@graphql-tools/load
Version:
A set of utils for faster development of GraphQL tools
5 lines (4 loc) • 366 B
TypeScript
export declare function resolveLoaderModuleUrl(path: string, cwd: string, requireFn: NodeRequire): string;
export declare function getCustomLoaderByPath(path: string, cwd: string): Promise<any>;
export declare function useCustomLoader(loaderPointer: any, cwd: string): Promise<any>;
export declare function useCustomLoaderSync(loaderPointer: any, cwd: string): any;