UNPKG

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