From c3407c0abfebe2ed6563cf754bab646af124a661 Mon Sep 17 00:00:00 2001 From: doug-martin Date: Wed, 13 May 2020 20:22:57 -0500 Subject: [PATCH] fix(): Fix lint issues --- packages/core/src/module.ts | 2 ++ packages/query-graphql/src/decorators/reference.decorator.ts | 1 + packages/query-graphql/src/module.ts | 2 ++ 3 files changed, 5 insertions(+) diff --git a/packages/core/src/module.ts b/packages/core/src/module.ts index 788ba9de9..85c33e2d7 100644 --- a/packages/core/src/module.ts +++ b/packages/core/src/module.ts @@ -4,7 +4,9 @@ import { Class } from './common'; import { createServices } from './providers'; export interface NestjsQueryCoreModuleOpts { + // eslint-disable-next-line @typescript-eslint/no-explicit-any imports?: Array | DynamicModule | Promise | ForwardReference>; + // eslint-disable-next-line @typescript-eslint/no-explicit-any assemblers?: Class>[]; } diff --git a/packages/query-graphql/src/decorators/reference.decorator.ts b/packages/query-graphql/src/decorators/reference.decorator.ts index a9f49cdeb..3ae354afa 100644 --- a/packages/query-graphql/src/decorators/reference.decorator.ts +++ b/packages/query-graphql/src/decorators/reference.decorator.ts @@ -9,6 +9,7 @@ export type ReferenceTypeFunc = () => Class; export function Reference( name: string, relationTypeFunction: ReferenceTypeFunc, + // eslint-disable-next-line @typescript-eslint/no-explicit-any keys: ReferencesKeys, options?: ReferenceDecoratorOpts, ) { diff --git a/packages/query-graphql/src/module.ts b/packages/query-graphql/src/module.ts index 15d5cb2d4..fa1060ded 100644 --- a/packages/query-graphql/src/module.ts +++ b/packages/query-graphql/src/module.ts @@ -3,8 +3,10 @@ import { DynamicModule, ForwardReference, Provider } from '@nestjs/common'; import { AutoResolverOpts, createResolvers } from './providers'; export interface NestjsQueryGraphqlModuleOpts { + // eslint-disable-next-line @typescript-eslint/no-explicit-any imports: Array | DynamicModule | Promise | ForwardReference>; services?: Provider[]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any assemblers?: Class>[]; // eslint-disable-next-line @typescript-eslint/no-explicit-any resolvers: AutoResolverOpts[];