We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Awaitable
1 parent 33c9bde commit fb0bcabCopy full SHA for fb0bcab
lib/gulp-eslint-new.d.ts
@@ -2,7 +2,7 @@ import type { TransformCallback } from 'node:stream';
2
import type * as eslint from './eslint';
3
import 'node';
4
5
-type Awaitable<T = unknown> = T | Promise<T>;
+type Awaitable<T = unknown> = T | PromiseLike<T>;
6
7
type ESLintrcOptions = eslint.ESLintrcOptions;
8
type FlatESLintOptions = eslint.FlatESLintOptions;
0 commit comments