9 lines
379 B
TypeScript
9 lines
379 B
TypeScript
|
import { GraphQLSchema } from 'graphql';
|
||
|
import { PruneSchemaOptions } from './types';
|
||
|
/**
|
||
|
* Prunes the provided schema, removing unused and empty types
|
||
|
* @param schema The schema to prune
|
||
|
* @param options Additional options for removing unused types from the schema
|
||
|
*/
|
||
|
export declare function pruneSchema(schema: GraphQLSchema, options?: PruneSchemaOptions): GraphQLSchema;
|