X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fthread%2Ffixed.ts;fp=src%2Fpools%2Fthread%2Ffixed.ts;h=7977cd61abd5263023b855fe9f7f23ba5135de10;hb=6a3ecc500583fc68d5bbce89f8448ccd022ab900;hp=78912c2b03d11537bebce5cc0576d058157321af;hpb=c311456387df5a1db5cf9d00be8f3fbc5b24362c;p=poolifier.git diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index 78912c2b..7977cd61 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -51,7 +51,7 @@ export class FixedThreadPool< protected sendToWorker ( workerNodeKey: number, message: MessageValue, - transferList?: TransferListItem[] + transferList?: readonly TransferListItem[] ): void { this.workerNodes[workerNodeKey]?.messageChannel?.port1.postMessage( {