repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1831 from poolifier/dependabot/npm_and_yarn/examples/typescript...
[poolifier.git]
/
src
/
worker
/
thread-worker.ts
diff --git
a/src/worker/thread-worker.ts
b/src/worker/thread-worker.ts
index 7f3cd950a992269fb7917b7eda296419a501b6f8..3635d92c56006b0d0f6dbcf6f855fdfaf52865bf 100644
(file)
--- a/
src/worker/thread-worker.ts
+++ b/
src/worker/thread-worker.ts
@@
-42,8
+42,7
@@
export class ThreadWorker<
taskFunctions: TaskFunction<Data, Response> | TaskFunctions<Data, Response>,
opts: WorkerOptions = {}
) {
taskFunctions: TaskFunction<Data, Response> | TaskFunctions<Data, Response>,
opts: WorkerOptions = {}
) {
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
- super(isMainThread, parentPort!, taskFunctions, opts)
+ super(isMainThread, parentPort, taskFunctions, opts)
}
/** @inheritDoc */
}
/** @inheritDoc */