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
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: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: graphql
Credits
These definitions were written by Siim Tiilen.