bun-types-no-globals 1.2.21-canary.20250824T140615 → 1.2.21-canary.20250825T140701
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 +4 -3
- package/lib/shell.d.ts +1 -1
- package/package.json +1 -1
package/lib/bun.d.ts
CHANGED
|
@@ -1628,7 +1628,7 @@ declare module "bun" {
|
|
|
1628
1628
|
kind: ImportKind;
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
1631
|
-
namespace
|
|
1631
|
+
namespace Build {
|
|
1632
1632
|
type Architecture = "x64" | "arm64";
|
|
1633
1633
|
type Libc = "glibc" | "musl";
|
|
1634
1634
|
type SIMD = "baseline" | "modern";
|
|
@@ -1641,6 +1641,7 @@ declare module "bun" {
|
|
|
1641
1641
|
| `bun-windows-x64-${SIMD}`
|
|
1642
1642
|
| `bun-linux-x64-${SIMD}-${Libc}`;
|
|
1643
1643
|
}
|
|
1644
|
+
|
|
1644
1645
|
/**
|
|
1645
1646
|
* @see [Bun.build API docs](https://bun.com/docs/bundler#api)
|
|
1646
1647
|
*/
|
|
@@ -1836,7 +1837,7 @@ declare module "bun" {
|
|
|
1836
1837
|
}
|
|
1837
1838
|
|
|
1838
1839
|
interface CompileBuildOptions {
|
|
1839
|
-
target?:
|
|
1840
|
+
target?: Bun.Build.Target;
|
|
1840
1841
|
execArgv?: string[];
|
|
1841
1842
|
executablePath?: string;
|
|
1842
1843
|
outfile?: string;
|
|
@@ -1878,7 +1879,7 @@ declare module "bun" {
|
|
|
1878
1879
|
* });
|
|
1879
1880
|
* ```
|
|
1880
1881
|
*/
|
|
1881
|
-
compile: boolean |
|
|
1882
|
+
compile: boolean | Bun.Build.Target | CompileBuildOptions;
|
|
1882
1883
|
}
|
|
1883
1884
|
|
|
1884
1885
|
/**
|
package/lib/shell.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bun-types-no-globals",
|
|
3
|
-
"version": "1.2.21-canary.
|
|
3
|
+
"version": "1.2.21-canary.20250825T140701",
|
|
4
4
|
"main": "./generator/index.ts",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"description": "TypeScript type definitions for Bun without global types pollution",
|