diff options
| author | 2022-12-17 12:17:05 -0800 | |
|---|---|---|
| committer | 2022-12-17 12:26:19 -0800 | |
| commit | f9b573aa89b9567e327c05df71e0483d33a89f80 (patch) | |
| tree | e9a15b4dd978dc1b00cb304c84b29e28e94c6995 | |
| parent | bbf8a17bf58292360f323c7d1113057d8e36fb0b (diff) | |
| download | bun-f9b573aa89b9567e327c05df71e0483d33a89f80.tar.gz bun-f9b573aa89b9567e327c05df71e0483d33a89f80.tar.zst bun-f9b573aa89b9567e327c05df71e0483d33a89f80.zip | |
[bun-types] Add optional param to Bun.deepEquals
| -rw-r--r-- | packages/bun-types/bun.d.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts index f52a63bfb..6978a10fd 100644 --- a/packages/bun-types/bun.d.ts +++ b/packages/bun-types/bun.d.ts @@ -581,8 +581,14 @@ declare module "bun" { * Fast deep-equality check two objects. * * This also powers expect().toEqual in `bun:test` + * */ - export function deepEquals(a: any, b: any): boolean; + export function deepEquals( + a: any, + b: any, + /** @default false */ + strict?: boolean, + ): boolean; export interface TranspilerOptions { /** |
