UNPKG

typegraphql-nestjs

Version:

Basic integration of TypeGraphQL in NestJS. Allows to use TypeGraphQL features while integrating with NestJS modules system and dependency injector.

9 lines (8 loc) 491 B
import { DynamicModule } from "@nestjs/common"; import { TypeGraphQLFeatureModuleOptions, TypeGraphQLRootModuleOptions, TypeGraphQLRootModuleAsyncOptions } from "./types"; export declare class TypeGraphQLModule { private static forFeatureIndex; static forFeature(options?: TypeGraphQLFeatureModuleOptions): DynamicModule; static forRoot(options?: TypeGraphQLRootModuleOptions): DynamicModule; static forRootAsync(options: TypeGraphQLRootModuleAsyncOptions): DynamicModule; }