mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
run fmt (#25148)
prettier released a new update which seems to have changed a few logistics
This commit is contained in:
16
.vscode/settings.json
vendored
16
.vscode/settings.json
vendored
@@ -27,18 +27,22 @@
|
|||||||
"git.ignoreLimitWarning": true,
|
"git.ignoreLimitWarning": true,
|
||||||
|
|
||||||
// Zig
|
// Zig
|
||||||
"zig.initialSetupDone": true,
|
// "zig.initialSetupDone": true,
|
||||||
"zig.buildOption": "build",
|
// "zig.buildOption": "build",
|
||||||
"zig.zls.zigLibPath": "${workspaceFolder}/vendor/zig/lib",
|
"zig.zls.zigLibPath": "${workspaceFolder}/vendor/zig/lib",
|
||||||
"zig.buildArgs": ["-Dgenerated-code=./build/debug/codegen", "--watch", "-fincremental"],
|
"zig.buildOnSaveArgs": [
|
||||||
"zig.zls.buildOnSaveStep": "check",
|
"-Dgenerated-code=./build/debug/codegen",
|
||||||
|
"--watch",
|
||||||
|
"-fincremental"
|
||||||
|
],
|
||||||
|
// "zig.zls.buildOnSaveStep": "check",
|
||||||
// "zig.zls.enableBuildOnSave": true,
|
// "zig.zls.enableBuildOnSave": true,
|
||||||
// "zig.buildOnSave": true,
|
// "zig.buildOnSave": true,
|
||||||
"zig.buildFilePath": "${workspaceFolder}/build.zig",
|
// "zig.buildFilePath": "${workspaceFolder}/build.zig",
|
||||||
"zig.path": "${workspaceFolder}/vendor/zig/zig.exe",
|
"zig.path": "${workspaceFolder}/vendor/zig/zig.exe",
|
||||||
"zig.zls.path": "${workspaceFolder}/vendor/zig/zls.exe",
|
"zig.zls.path": "${workspaceFolder}/vendor/zig/zls.exe",
|
||||||
"zig.formattingProvider": "zls",
|
"zig.formattingProvider": "zls",
|
||||||
"zig.zls.enableInlayHints": false,
|
// "zig.zls.enableInlayHints": false,
|
||||||
"[zig]": {
|
"[zig]": {
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"editor.useTabStops": false,
|
"editor.useTabStops": false,
|
||||||
|
|||||||
15
packages/bun-types/bun.d.ts
vendored
15
packages/bun-types/bun.d.ts
vendored
@@ -1740,7 +1740,6 @@ declare module "bun" {
|
|||||||
* @default "esm"
|
* @default "esm"
|
||||||
*/
|
*/
|
||||||
format?: /**
|
format?: /**
|
||||||
|
|
||||||
* ECMAScript Module format
|
* ECMAScript Module format
|
||||||
*/
|
*/
|
||||||
| "esm"
|
| "esm"
|
||||||
@@ -5651,11 +5650,17 @@ declare module "bun" {
|
|||||||
maxBuffer?: number;
|
maxBuffer?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SpawnSyncOptions<In extends Writable, Out extends Readable, Err extends Readable>
|
interface SpawnSyncOptions<In extends Writable, Out extends Readable, Err extends Readable> extends BaseOptions<
|
||||||
extends BaseOptions<In, Out, Err> {}
|
In,
|
||||||
|
Out,
|
||||||
|
Err
|
||||||
|
> {}
|
||||||
|
|
||||||
interface SpawnOptions<In extends Writable, Out extends Readable, Err extends Readable>
|
interface SpawnOptions<In extends Writable, Out extends Readable, Err extends Readable> extends BaseOptions<
|
||||||
extends BaseOptions<In, Out, Err> {
|
In,
|
||||||
|
Out,
|
||||||
|
Err
|
||||||
|
> {
|
||||||
/**
|
/**
|
||||||
* If true, stdout and stderr pipes will not automatically start reading
|
* If true, stdout and stderr pipes will not automatically start reading
|
||||||
* data. Reading will only begin when you access the `stdout` or `stderr`
|
* data. Reading will only begin when you access the `stdout` or `stderr`
|
||||||
|
|||||||
@@ -455,10 +455,11 @@ class PooledMySQLConnection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class MySQLAdapter
|
class MySQLAdapter implements DatabaseAdapter<
|
||||||
implements
|
PooledMySQLConnection,
|
||||||
DatabaseAdapter<PooledMySQLConnection, $ZigGeneratedClasses.MySQLConnection, $ZigGeneratedClasses.MySQLQuery>
|
$ZigGeneratedClasses.MySQLConnection,
|
||||||
{
|
$ZigGeneratedClasses.MySQLQuery
|
||||||
|
> {
|
||||||
public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions;
|
public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions;
|
||||||
|
|
||||||
public readonly connections: PooledMySQLConnection[];
|
public readonly connections: PooledMySQLConnection[];
|
||||||
|
|||||||
@@ -672,14 +672,11 @@ class PooledPostgresConnection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class PostgresAdapter
|
class PostgresAdapter implements DatabaseAdapter<
|
||||||
implements
|
|
||||||
DatabaseAdapter<
|
|
||||||
PooledPostgresConnection,
|
PooledPostgresConnection,
|
||||||
$ZigGeneratedClasses.PostgresSQLConnection,
|
$ZigGeneratedClasses.PostgresSQLConnection,
|
||||||
$ZigGeneratedClasses.PostgresSQLQuery
|
$ZigGeneratedClasses.PostgresSQLQuery
|
||||||
>
|
> {
|
||||||
{
|
|
||||||
public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions;
|
public readonly connectionInfo: Bun.SQL.__internal.DefinedPostgresOrMySQLOptions;
|
||||||
|
|
||||||
public readonly connections: PooledPostgresConnection[];
|
public readonly connections: PooledPostgresConnection[];
|
||||||
|
|||||||
Reference in New Issue
Block a user