Type error fix
This commit is contained in:
parent
864b57aac1
commit
ba4be8cbf5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export class Queue {
|
||||||
const promise = new Promise(resolve => {
|
const promise = new Promise(resolve => {
|
||||||
this.queue.push(async () => {
|
this.queue.push(async () => {
|
||||||
await fn();
|
await fn();
|
||||||
resolve();
|
resolve(undefined);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!this.running) this.next();
|
if (!this.running) this.next();
|
||||||
|
|
Loading…
Add table
Reference in a new issue