npm.io
1.3.9 • Published 2 years ago

@types/graphql-fields

Licence
MIT
Version
1.3.9
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/graphql-fields

Summary

This package contains type definitions for graphql-fields (https://github.com/robrichard/graphql-fields#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/graphql-fields.

index.d.ts

import { GraphQLResolveInfo } from "graphql";

declare function graphqlFields(info: GraphQLResolveInfo, obj?: object, opts?: graphqlFields.Options): any;

declare namespace graphqlFields {
    interface Options {
        processArguments?: boolean | undefined;
        excludedFields?: string[] | undefined;
    }
}

export = graphqlFields;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: graphql

Credits

These definitions were written by feinoujc.