bun-types-no-globals 1.2.20-canary.20250810T140630 → 1.2.21-canary.20250812T140642
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.
- package/lib/bun.d.ts +6 -4
- package/package.json +1 -1
package/lib/bun.d.ts
CHANGED
|
@@ -7529,10 +7529,11 @@ declare module "bun" {
|
|
|
7529
7529
|
* Internally, this uses [posix_spawn(2)](https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/posix_spawn.2.html)
|
|
7530
7530
|
*/
|
|
7531
7531
|
function spawnSync<
|
|
7532
|
+
const In extends SpawnOptions.Writable = "ignore",
|
|
7532
7533
|
const Out extends SpawnOptions.Readable = "pipe",
|
|
7533
|
-
const Err extends SpawnOptions.Readable = "
|
|
7534
|
+
const Err extends SpawnOptions.Readable = "pipe",
|
|
7534
7535
|
>(
|
|
7535
|
-
options: SpawnOptions.OptionsObject<
|
|
7536
|
+
options: SpawnOptions.OptionsObject<In, Out, Err> & {
|
|
7536
7537
|
/**
|
|
7537
7538
|
* The command to run
|
|
7538
7539
|
*
|
|
@@ -7564,8 +7565,9 @@ declare module "bun" {
|
|
|
7564
7565
|
* Internally, this uses [posix_spawn(2)](https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/posix_spawn.2.html)
|
|
7565
7566
|
*/
|
|
7566
7567
|
function spawnSync<
|
|
7568
|
+
const In extends SpawnOptions.Writable = "ignore",
|
|
7567
7569
|
const Out extends SpawnOptions.Readable = "pipe",
|
|
7568
|
-
const Err extends SpawnOptions.Readable = "
|
|
7570
|
+
const Err extends SpawnOptions.Readable = "pipe",
|
|
7569
7571
|
>(
|
|
7570
7572
|
/**
|
|
7571
7573
|
* The command to run
|
|
@@ -7582,7 +7584,7 @@ declare module "bun" {
|
|
|
7582
7584
|
* ```
|
|
7583
7585
|
*/
|
|
7584
7586
|
cmds: string[],
|
|
7585
|
-
options?: SpawnOptions.OptionsObject<
|
|
7587
|
+
options?: SpawnOptions.OptionsObject<In, Out, Err>,
|
|
7586
7588
|
): SyncSubprocess<Out, Err>;
|
|
7587
7589
|
|
|
7588
7590
|
/** Utility type for any process from {@link Bun.spawn()} with both stdout and stderr set to `"pipe"` */
|