In the documentation for queue, it is stated that the anonymous function pushed to the queue can return a promise. However, if you look at the definition for QueueWorker, it has a return type of just void
export interface QueueWorker {
(callback?: QueueWorkerCallback): void;
This causes a failure by the ESLint rule no-misused-promises
Promise returned in function argument where a void return was expected @typescript-eslint/no-misused-promises
This type definition should be updated to be Promise<void> | void