prune.d.cts 383 B

12345678
  1. import { GraphQLSchema } from 'graphql';
  2. import { PruneSchemaOptions } from './types.cjs';
  3. /**
  4. * Prunes the provided schema, removing unused and empty types
  5. * @param schema The schema to prune
  6. * @param options Additional options for removing unused types from the schema
  7. */
  8. export declare function pruneSchema(schema: GraphQLSchema, options?: PruneSchemaOptions): GraphQLSchema;