UNPKG

363 BTypeScriptView Raw
1import { DocumentNode } from 'graphql';
2import { DirectiveUsage } from './types.js';
3export type TypeAndFieldToDirectives = {
4 [typeAndField: string]: DirectiveUsage[];
5};
6interface Options {
7 includeInputTypes?: boolean;
8}
9export declare function getFieldsWithDirectives(documentNode: DocumentNode, options?: Options): TypeAndFieldToDirectives;
10export {};