From d0970daacda0b6f6c2077c2f81948536b574bbe9 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 12 Jun 2020 09:19:29 -0400 Subject: make std deno-lint clean (#6240) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- std/node/_utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'std/node/_utils.ts') diff --git a/std/node/_utils.ts b/std/node/_utils.ts index b8c4fa00e..463d4e67c 100644 --- a/std/node/_utils.ts +++ b/std/node/_utils.ts @@ -16,10 +16,10 @@ export type MaybeDefined = T | undefined; export type MaybeEmpty = T | null | undefined; export function intoCallbackAPI( - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any func: (...args: any[]) => Promise, cb: MaybeEmpty<(err: MaybeNull, value: MaybeEmpty) => void>, - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any ...args: any[] ): void { func(...args) @@ -28,11 +28,11 @@ export function intoCallbackAPI( } export function intoCallbackAPIWithIntercept( - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any func: (...args: any[]) => Promise, interceptor: (v: T1) => T2, cb: MaybeEmpty<(err: MaybeNull, value: MaybeEmpty) => void>, - /* eslint-disable-next-line @typescript-eslint/no-explicit-any */ + // eslint-disable-next-line @typescript-eslint/no-explicit-any ...args: any[] ): void { func(...args) -- cgit v1.2.3