mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
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:
20
packages/bun-types/bun.d.ts
vendored
20
packages/bun-types/bun.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user