@types/node 16.4.3 → 16.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
node/worker_threads.d.ts CHANGED
@@ -583,7 +583,7 @@ declare module 'worker_threads' {
583
583
  * @param port The message port to transfer.
584
584
  * @param contextifiedSandbox A `contextified` object as returned by the `vm.createContext()` method.
585
585
  */
586
- function moveMessagePortToContext(port: MessagePort, context: Context): MessagePort;
586
+ function moveMessagePortToContext(port: MessagePort, contextifiedSandbox: Context): MessagePort;
587
587
  /**
588
588
  * Receive a single message from a given `MessagePort`. If no message is available,`undefined` is returned, otherwise an object with a single `message` property
589
589
  * that contains the message payload, corresponding to the oldest message in the`MessagePort`’s queue.