aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-08-22 14:28:01 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-08-22 14:28:01 -0700
commitd86084dd8e69d41ae36303024e330e257df534b7 (patch)
tree3421545cf110efd2bd0a4d9102b93f352fdb7411
parent52802a4c556d7498d75d00e4fe4e45633f4283e8 (diff)
downloadbun-d86084dd8e69d41ae36303024e330e257df534b7.tar.gz
bun-d86084dd8e69d41ae36303024e330e257df534b7.tar.zst
bun-d86084dd8e69d41ae36303024e330e257df534b7.zip
Fix Bun.inspect types
-rw-r--r--packages/bun-types/bun.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts
index e5eaf1674..7ad0f912e 100644
--- a/packages/bun-types/bun.d.ts
+++ b/packages/bun-types/bun.d.ts
@@ -2308,7 +2308,7 @@ declare module "bun" {
*
* @param args
*/
- export function inspect(arg: any, options: BunInspectOptions): string;
+ export function inspect(arg: any, options?: BunInspectOptions): string;
export namespace inspect {
/**
* That can be used to declare custom inspect functions.