@graphql-codegen/testing
Version:
GraphQL Codegen Testing Utils
5 lines (4 loc) • 425 B
text/typescript
import { Types } from '@graphql-codegen/plugin-helpers';
import { CompilerOptions } from 'typescript';
export declare function validateTs(pluginOutput: Types.PluginOutput, options?: CompilerOptions, isTsx?: boolean, isStrict?: boolean, suspenseErrors?: string[], compileProgram?: boolean): void;
export declare function compileTs(contents: string, options?: CompilerOptions, isTsx?: boolean, openPlayground?: boolean): void;