@graphql-mesh/transport-rest
Version: 
9 lines (8 loc) • 330 B
TypeScript
import { ASTNode, ConstDirectiveNode } from 'graphql';
import { DirectiveAnnotation } from '@graphql-tools/utils';
export declare function getDirectiveAnnotations(directableObj: {
    astNode?: ASTNode & {
        directives?: readonly ConstDirectiveNode[];
    };
    extensions?: Record<string, any>;
}): DirectiveAnnotation[];