@gqlts/cli
Version:
Generate a client sdk from your GraphQl API
6 lines (5 loc) • 398 B
TypeScript
export declare function ensurePath(path: string[], clear?: boolean): Promise<void>;
export declare const requireModuleFromPath: (path: string[]) => any;
export declare const readFileFromPath: (path: string[]) => Promise<string>;
export declare const writeFileToPath: (path: string[], content: string) => Promise<void>;
export declare const readFilesAndConcat: (files: string[]) => Promise<string>;