fix(core): update
This commit is contained in:
parent
84a8d8431c
commit
255d6415a5
@ -94,7 +94,7 @@ export const timeoutWrap = <T = any>(promiseArg: Promise<T>, timeoutInMs: number
|
||||
};
|
||||
|
||||
export const getFirstTrueOrFalse = async (promisesArg: Promise<boolean>[]) => {
|
||||
const done = defer();
|
||||
const done = defer<boolean>();
|
||||
for (const promiseArg of promisesArg) {
|
||||
promiseArg.then((resultArg) => {
|
||||
if (resultArg === true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user