aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bun-types/globals.d.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/bun-types/globals.d.ts b/packages/bun-types/globals.d.ts
index 2931cad1d..60bc40cd0 100644
--- a/packages/bun-types/globals.d.ts
+++ b/packages/bun-types/globals.d.ts
@@ -3507,8 +3507,9 @@ interface CallSite {
}
interface ArrayBufferConstructor {
- new (params: { byteLength: number; maxByteLength?: number }): ArrayBuffer;
+ new (byteLength: number, options: { maxByteLength?: number }): ArrayBuffer;
}
+
interface ArrayBuffer {
/**
* Read-only. The length of the ArrayBuffer (in bytes).