From 822d75a3802ecc1fc5439427e14bf0d57107e303 Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Tue, 23 Dec 2025 22:47:07 -0800 Subject: [PATCH] fix(@types/bun): add missing autoloadTsconfig and autoloadPackageJson types (#25501) ### What does this PR do? Adds missing types, fixes typo ### How did you verify your code works? Add missing types from: https://github.com/oven-sh/bun/pull/25340/changes --------- Co-authored-by: Alistair Smith --- packages/bun-types/bun.d.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts index b45e9db2e5..e0135432b0 100644 --- a/packages/bun-types/bun.d.ts +++ b/packages/bun-types/bun.d.ts @@ -1970,6 +1970,26 @@ declare module "bun" { * @default true */ autoloadBunfig?: boolean; + /** + * Whether to autoload tsconfig.json when the standalone executable runs + * + * Standalone-only: applies only when building/running the standalone executable. + * + * Equivalent CLI flags: `--compile-autoload-tsconfig`, `--no-compile-autoload-tsconfig` + * + * @default false + */ + autoloadTsconfig?: boolean; + /** + * Whether to autoload package.json when the standalone executable runs + * + * Standalone-only: applies only when building/running the standalone executable. + * + * Equivalent CLI flags: `--compile-autoload-package-json`, `--no-compile-autoload-package-json` + * + * @default false + */ + autoloadPackageJson?: boolean; windows?: { hideConsole?: boolean; icon?: string;