@types/node 18.18.10 → 18.18.12
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 v18.18/README.md +1 -1
- node v18.18/assert.d.ts +2 -2
- node v18.18/buffer.d.ts +4 -4
- node v18.18/child_process.d.ts +33 -33
- node v18.18/console.d.ts +1 -1
- node v18.18/crypto.d.ts +4 -4
- node v18.18/dgram.d.ts +3 -3
- node v18.18/dns/promises.d.ts +9 -1
- node v18.18/dns.d.ts +1 -1
- node v18.18/fs/promises.d.ts +2 -2
- node v18.18/fs.d.ts +8 -8
- node v18.18/http.d.ts +2 -2
- node v18.18/http2.d.ts +4 -3
- node v18.18/package.json +2 -2
- node v18.18/perf_hooks.d.ts +1 -1
- node v18.18/punycode.d.ts +1 -1
- node v18.18/querystring.d.ts +3 -3
- node v18.18/timers.d.ts +3 -3
- node v18.18/tls.d.ts +1 -1
- node v18.18/ts4.8/assert.d.ts +2 -2
- node v18.18/ts4.8/buffer.d.ts +4 -4
- node v18.18/ts4.8/child_process.d.ts +33 -33
- node v18.18/ts4.8/console.d.ts +1 -1
- node v18.18/ts4.8/crypto.d.ts +4 -4
- node v18.18/ts4.8/dgram.d.ts +3 -3
- node v18.18/ts4.8/dns/promises.d.ts +9 -1
- node v18.18/ts4.8/dns.d.ts +1 -1
- node v18.18/ts4.8/fs/promises.d.ts +2 -2
- node v18.18/ts4.8/fs.d.ts +8 -8
- node v18.18/ts4.8/http.d.ts +2 -2
- node v18.18/ts4.8/http2.d.ts +4 -3
- node v18.18/ts4.8/perf_hooks.d.ts +1 -1
- node v18.18/ts4.8/punycode.d.ts +1 -1
- node v18.18/ts4.8/querystring.d.ts +3 -3
- node v18.18/ts4.8/timers.d.ts +3 -3
- node v18.18/ts4.8/tls.d.ts +1 -1
- node v18.18/ts4.8/url.d.ts +1 -1
- node v18.18/ts4.8/vm.d.ts +1 -1
- node v18.18/ts4.8/worker_threads.d.ts +2 -2
- node v18.18/url.d.ts +1 -1
- node v18.18/vm.d.ts +1 -1
- node v18.18/worker_threads.d.ts +2 -2
node v18.18/worker_threads.d.ts
CHANGED
|
@@ -173,7 +173,7 @@ declare module "worker_threads" {
|
|
|
173
173
|
* behind this API, see the `serialization API of the v8 module`.
|
|
174
174
|
* @since v10.5.0
|
|
175
175
|
*/
|
|
176
|
-
postMessage(value: any, transferList?:
|
|
176
|
+
postMessage(value: any, transferList?: readonly TransferListItem[]): void;
|
|
177
177
|
/**
|
|
178
178
|
* Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed port does _not_ let the program exit if it's the only active handle left (the default
|
|
179
179
|
* behavior). If the port is `ref()`ed, calling `ref()` again has no effect.
|
|
@@ -404,7 +404,7 @@ declare module "worker_threads" {
|
|
|
404
404
|
* See `port.postMessage()` for more details.
|
|
405
405
|
* @since v10.5.0
|
|
406
406
|
*/
|
|
407
|
-
postMessage(value: any, transferList?:
|
|
407
|
+
postMessage(value: any, transferList?: readonly TransferListItem[]): void;
|
|
408
408
|
/**
|
|
409
409
|
* Opposite of `unref()`, calling `ref()` on a previously `unref()`ed worker does _not_ let the program exit if it's the only active handle left (the default
|
|
410
410
|
* behavior). If the worker is `ref()`ed, calling `ref()` again has
|