repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
src
/
worker
/
thread-worker.ts
diff --git
a/src/worker/thread-worker.ts
b/src/worker/thread-worker.ts
index 2a50249f7bbd406ad6789d80167bace6cb009dc6..7f3cd950a992269fb7917b7eda296419a501b6f8 100644
(file)
--- a/
src/worker/thread-worker.ts
+++ b/
src/worker/thread-worker.ts
@@
-42,7
+42,8
@@
export class ThreadWorker<
taskFunctions: TaskFunction<Data, Response> | TaskFunctions<Data, Response>,
opts: WorkerOptions = {}
) {
taskFunctions: TaskFunction<Data, Response> | TaskFunctions<Data, Response>,
opts: WorkerOptions = {}
) {
- super(isMainThread, parentPort as MessagePort, taskFunctions, opts)
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
+ super(isMainThread, parentPort!, taskFunctions, opts)
}
/** @inheritDoc */
}
/** @inheritDoc */