1.3.9 • Published 6 months ago

@types/graphql-fields v1.3.9

Weekly downloads
9,208
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for graphql-fields 1.3
// Project: https://github.com/robrichard/graphql-fields#readme
// Definitions by: feinoujc <https://github.com/feinoujc>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.6

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: Thu, 08 Jul 2021 12:02:28 GMT
  • Dependencies: @types/graphql
  • Global values: none

Credits

These definitions were written by feinoujc.