Skip to content

Commit fb0bcab

Browse files
committed
Generalize Awaitable type
1 parent 33c9bde commit fb0bcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gulp-eslint-new.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { TransformCallback } from 'node:stream';
22
import type * as eslint from './eslint';
33
import 'node';
44

5-
type Awaitable<T = unknown> = T | Promise<T>;
5+
type Awaitable<T = unknown> = T | PromiseLike<T>;
66

77
type ESLintrcOptions = eslint.ESLintrcOptions;
88
type FlatESLintOptions = eslint.FlatESLintOptions;

0 commit comments

Comments
 (0)