UNPKG

318 BTypeScriptView Raw
1import { Types } from 'graphql-codegen-core';
2import { SchemaLoader } from './schema-loader';
3import { DocumentNode } from 'graphql';
4export declare class SchemaFromString implements SchemaLoader {
5 canHandle(str: string): boolean;
6 handle(str: string, config: Types.Config, schemaOptions: any): DocumentNode;
7}