diff options
Diffstat (limited to 'std/node/_utils.ts')
-rw-r--r-- | std/node/_utils.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/node/_utils.ts b/std/node/_utils.ts index e63b53d18..b2745bf5a 100644 --- a/std/node/_utils.ts +++ b/std/node/_utils.ts @@ -18,10 +18,10 @@ export type MaybeDefined<T> = T | undefined; export type MaybeEmpty<T> = T | null | undefined; export function intoCallbackAPI<T>( - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any func: (...args: any[]) => Promise<T>, cb: MaybeEmpty<(err: MaybeNull<Error>, value: MaybeEmpty<T>) => void>, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any ...args: any[] ): void { func(...args) @@ -30,11 +30,11 @@ export function intoCallbackAPI<T>( } export function intoCallbackAPIWithIntercept<T1, T2>( - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any func: (...args: any[]) => Promise<T1>, interceptor: (v: T1) => T2, cb: MaybeEmpty<(err: MaybeNull<Error>, value: MaybeEmpty<T2>) => void>, - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any ...args: any[] ): void { func(...args) |