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

1.3.9 • Public • Published

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 03:09:37 GMT
  • Dependencies: graphql

Credits

These definitions were written by feinoujc.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/graphql-fields

Weekly Downloads

48,777

Version

1.3.9

License

MIT

Unpacked Size

3.33 kB

Total Files

5

Last publish

Collaborators

  • types