@graphql-tools/prisma-loader
Version:
A set of utils for faster development of GraphQL tools
18 lines (17 loc) • 549 B
TypeScript
export declare class Output {
log(...args: any): void;
warn(...args: any): void;
getErrorPrefix(fileName: string, type?: 'error' | 'warning'): string;
}
export declare class TestOutput {
output: string[];
constructor();
log(...args: any): void;
warn(...args: any): void;
getErrorPrefix(fileName: string, type?: 'error' | 'warning'): string;
}
export interface IOutput {
warn: (...args: any) => void;
log: (...args: any) => void;
getErrorPrefix: (fileName: string, type?: 'error' | 'warning') => string;
}