diff options
author | 2022-05-16 20:54:01 -0700 | |
---|---|---|
committer | 2022-05-16 20:54:01 -0700 | |
commit | bc73d21917ad6e5767abe20a67126ce1437d9102 (patch) | |
tree | 89ba1265450963b4b33700770f49ba3230eb2357 | |
parent | 7ca297a5cc3d19d9a7af9f3965cc11fda7ffb78f (diff) | |
download | bun-bc73d21917ad6e5767abe20a67126ce1437d9102.tar.gz bun-bc73d21917ad6e5767abe20a67126ce1437d9102.tar.zst bun-bc73d21917ad6e5767abe20a67126ce1437d9102.zip |
Update types.d.ts
Diffstat (limited to '')
-rw-r--r-- | packages/bun-types/types.d.ts | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/packages/bun-types/types.d.ts b/packages/bun-types/types.d.ts index 50820f4e9..75a2b8c93 100644 --- a/packages/bun-types/types.d.ts +++ b/packages/bun-types/types.d.ts @@ -1060,7 +1060,6 @@ interface BufferEncodingOption { declare var Bun: typeof import("bun"); - // ./ffi.d.ts /** @@ -1827,7 +1826,6 @@ declare module "bun:ffi" { export const suffix: string; } - // ./sqlite.d.ts /** @@ -2313,7 +2311,7 @@ declare module "bun:sqlite" { * | `null` | `NULL` | * */ - run(...params: ParamsType): void; + run(...params: ParamsType[]): void; /** * Execute the prepared statement and return the results as an array of arrays. @@ -2350,7 +2348,7 @@ declare module "bun:sqlite" { * */ values( - ...params: ParamsType + ...params: ParamsType[] ): Array<Array<string | bigint | number | boolean | Uint8Array>>; /** @@ -2578,7 +2576,6 @@ declare module "bun:sqlite" { | Record<string, string | bigint | TypedArray | number | boolean | null>; } - // ./fs.d.ts /** @@ -6180,7 +6177,6 @@ declare module "node:fs" { export = fs; } - // ./html-rewriter.d.ts declare namespace HTMLRewriterTypes { @@ -6297,7 +6293,6 @@ declare class HTMLRewriter { transform(input: Response): Response; } - // ./globals.d.ts type Encoding = "utf-8" | "windows-1252" | "utf-16"; @@ -7726,7 +7721,6 @@ declare var Loader: { resolveSync: (specifier: string, from: string) => string; }; - // ./path.d.ts /** @@ -7934,7 +7928,6 @@ declare module "node:path/win32" { export * from "path/win32"; } - // ./bun-test.d.ts /** @@ -7973,4 +7966,3 @@ declare module "test" { import BunTestModule = require("bun:test"); export = BunTestModule; } - |