X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=src%2Fworker%2Futils.ts;h=59a0289b79e78e9a9020257b872aca0c95486999;hb=6e5d7052fe741b50e68f8614b33d3754be41415f;hp=f324a23524646b2553f2c75d6dc62c5a5be16a4c;hpb=260bb73734384fc982006e15359ca1c43463cc55;p=poolifier.git diff --git a/src/worker/utils.ts b/src/worker/utils.ts index f324a235..59a0289b 100644 --- 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( + // eslint-disable-next-line @typescript-eslint/restrict-template-expressions `taskFunction object 'taskFunction' property '${fnObj.taskFunction}' is not a function` ) }