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