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.