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
/
utils.ts
diff --git
a/src/worker/utils.ts
b/src/worker/utils.ts
index f324a23524646b2553f2c75d6dc62c5a5be16a4c..59a0289b79e78e9a9020257b872aca0c95486999 100644
(file)
--- a/
src/worker/utils.ts
+++ b/
src/worker/utils.ts
@@
-53,6
+53,7
@@
export const checkValidTaskFunctionObjectEntry = <
}
if (typeof fnObj.taskFunction !== 'function') {
throw new TypeError(
}
if (typeof fnObj.taskFunction !== 'function') {
throw new TypeError(
+ // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
`taskFunction object 'taskFunction' property '${fnObj.taskFunction}' is not a function`
)
}
`taskFunction object 'taskFunction' property '${fnObj.taskFunction}' is not a function`
)
}