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.
2 parents 112d462 + 61a4ab0 commit 04c48afCopy full SHA for 04c48af
types/index.d.ts
@@ -6,7 +6,7 @@ import { Timeout, Interval } from 'safe-timers';
6
7
export = Bree;
8
9
-type AsyncFunction<A, O> = (...args: A) => Promise<O>;
+type AsyncFunction<A extends any[], O> = (...args: A) => Promise<O>;
10
11
declare class Bree extends EventEmitter {
12
config: Bree.BreeConfigs;
0 commit comments