Skip to content

Commit

Permalink
lint: deno lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorikairox committed Apr 7, 2023
1 parent f2ea820 commit cf30940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/injector/decorator.ts
Expand Up @@ -8,6 +8,7 @@ export function getInjectionTokenMetadataKey(parameterIndex: number) {

export const Inject = (token?: string) =>
(
// deno-lint-ignore no-explicit-any
target: Record<string, unknown> | any,
propertyKey: string | symbol | undefined,
parameterIndex: number,
Expand Down
2 changes: 2 additions & 0 deletions src/router/controller/params/decorators.ts
Expand Up @@ -5,6 +5,7 @@ import { Constructor } from '../../../mod.ts';
import { NotValidBodyException } from '../../../exception/mod.ts';

export type OptionsResolver = {
// deno-lint-ignore no-explicit-any
target: Constructor | any;
propertyKey: string | symbol | undefined;
parameterIndex: number;
Expand All @@ -22,6 +23,7 @@ export const createParamDecorator = (
) =>
() =>
(
// deno-lint-ignore no-explicit-any
target: Constructor | any,
propertyKey: string | symbol | undefined,
parameterIndex: number,
Expand Down

0 comments on commit cf30940

Please sign in to comment.