@types/graphql-depth-limit
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/graphql-depth-limit

    Weekly Downloads

    100,116

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    3.26 kB

    Total Files

    5

    Last publish

    Collaborators

    • types