Skip to content

Commit

Permalink
fix(): Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-martin committed May 14, 2020
1 parent 85e8658 commit c3407c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Class<any> | DynamicModule | Promise<DynamicModule> | ForwardReference>;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
assemblers?: Class<Assembler<any, any>>[];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export type ReferenceTypeFunc<Relation> = () => Class<Relation>;
export function Reference<DTO, Reference>(
name: string,
relationTypeFunction: ReferenceTypeFunc<Reference>,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
keys: ReferencesKeys<any, Reference>,
options?: ReferenceDecoratorOpts<DTO, Reference>,
) {
Expand Down
2 changes: 2 additions & 0 deletions packages/query-graphql/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Class<any> | DynamicModule | Promise<DynamicModule> | ForwardReference>;
services?: Provider[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
assemblers?: Class<Assembler<any, any>>[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
resolvers: AutoResolverOpts<any, any, unknown, unknown>[];
Expand Down

0 comments on commit c3407c0

Please sign in to comment.