UNPKG

630 BTypeScriptView Raw
1import { ArgumentsHost } from '@nestjs/common';
2import { ExecutionContextHost } from '@nestjs/core/helpers/execution-context-host';
3export interface GraphQLArgumentsHost extends ArgumentsHost {
4 getRoot<T = any>(): T;
5 getInfo<T = any>(): T;
6 getArgs<T = any>(): T;
7 getContext<T = any>(): T;
8}
9export declare class GqlArgumentsHost extends ExecutionContextHost implements GraphQLArgumentsHost {
10 static create(context: ArgumentsHost): GqlArgumentsHost;
11 getRoot<T = any>(): T;
12 getArgs<T = any>(): T;
13 getContext<T = any>(): T;
14 getInfo<T = any>(): T;
15}
16//# sourceMappingURL=gql-arguments-host.d.ts.map
\No newline at end of file