1.1.6 • Published 2 years ago
@types/graphql-depth-limit v1.1.6
Installation
npm install --save @types/graphql-depth-limit
Summary
This package contains type definitions for graphql-depth-limit (https://github.com/stems/graphql-depth-limit#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-depth-limit.
index.d.ts
// Type definitions for graphql-depth-limit 1.1
// Project: https://github.com/stems/graphql-depth-limit#readme
// Definitions by: Siim Tiilen <https://github.com/eritikass>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
declare function depthLimit(depthLimit: number, options?: depthLimit.Options, callback?: (obj: any) => void): any;
export = depthLimit;
declare namespace depthLimit {
interface Options {
ignore?: Array<string | RegExp | ((queryDepths: any[]) => boolean)>;
}
}
Additional Details
- Last updated: Sat, 11 Sep 2021 23:31:22 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Siim Tiilen.