@nestjs/graphql
Version:
Nest - modern, fast, powerful node.js web framework (@graphql)
9 lines • 386 B
TypeScript
/**
* Adds one or more directives to a field, type, or handler. Passing an array
* attaches every directive in a single decorator call, equivalent to stacking
* multiple `@Directive(...)` decorators.
*
* @publicApi
*/
export declare function Directive(sdl: string | string[]): MethodDecorator & PropertyDecorator & ClassDecorator;
//# sourceMappingURL=directive.decorator.d.ts.map