UNPKG

453 BTypeScriptView Raw
1import { GraphQLSchema } from 'graphql';
2import { SubschemaConfig, Transform } from '@graphql-tools/delegate';
3export default class RemoveObjectFieldDeprecations implements Transform {
4 private readonly removeDirectives;
5 private readonly removeDeprecations;
6 constructor(reason: string | RegExp);
7 transformSchema(originalWrappingSchema: GraphQLSchema, subschemaConfig: SubschemaConfig, transformedSchema?: GraphQLSchema): GraphQLSchema;
8}