Nice Parakeet Marriage

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

    1.1.3 • 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

    // 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.

    Keywords

    none

    Install

    npm i @types/graphql-depth-limit

    DownloadsWeekly Downloads

    59,484

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    3.78 kB

    Total Files

    4

    Last publish

    Collaborators

    • types