Skip to content

Commit

Permalink
fix(typings): pass generic type to error handler (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
AVVS authored Dec 2, 2022
1 parent a2fdb68 commit 0fdc3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ declare namespace fastq {
getQueue(): T[]
kill(): any
killAndDrain(): any
error(handler: errorHandler): void
error(handler: errorHandler<T>): void
concurrency: number
drain(): any
empty: () => void
Expand Down

0 comments on commit 0fdc3d6

Please sign in to comment.