UNPKG

graphql-to-sparql

Version:
13 lines (12 loc) 650 B
import type { IConvertContext } from '../../IConvertContext'; import type { IConvertSettings } from '../../IConvertSettings'; import type { Util } from '../../Util'; import type { IDirectiveContext, IDirectiveNodeHandlerOutput } from './DirectiveNodeHandlerAdapter'; import { DirectiveNodeHandlerAdapter } from './DirectiveNodeHandlerAdapter'; /** * A handler for optional directives. */ export declare class DirectiveNodeHandlerOptional extends DirectiveNodeHandlerAdapter { constructor(util: Util, settings: IConvertSettings); handle(_directiveContext: IDirectiveContext, _convertContext: IConvertContext): IDirectiveNodeHandlerOutput; }