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 <hi@alistair.sh>
This commit is contained in:
Aiden Cline
2025-12-23 22:47:07 -08:00
committed by GitHub
parent bffccf3d5f
commit 822d75a380

View File

@@ -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;