Closed pieh closed 3 years ago
TS typings don't reflect that done param is optional for .push() and .unshift() methods.
done
.push()
.unshift()
Behaviour is already tested in https://github.com/mcollina/fastq/blob/9b929c0ac40fe6b1ea0d2c4560dddf0d4be4851e/test/test.js#L524-L548
Just TS types force to define it (even if it's no-op)
TS typings don't reflect that
done
param is optional for.push()
and.unshift()
methods.Behaviour is already tested in https://github.com/mcollina/fastq/blob/9b929c0ac40fe6b1ea0d2c4560dddf0d4be4851e/test/test.js#L524-L548
Just TS types force to define it (even if it's no-op)