UNPKG

542 BTypeScriptView Raw
1import { GraphQLNamedType, GraphQLSchema } from 'graphql';
2declare module 'graphql/type/definition' {
3 interface GraphQLObjectType {
4 resolveReference?: any;
5 }
6 interface GraphQLObjectTypeConfig<TSource, TContext> {
7 resolveReference?: any;
8 }
9}
10declare type TypeTransformer = (type: GraphQLNamedType) => GraphQLNamedType | null | undefined;
11export declare function transformSchema(schema: GraphQLSchema, transformType: TypeTransformer): GraphQLSchema;
12export {};
13//# sourceMappingURL=transform-schema.util.d.ts.map
\No newline at end of file