Skip to content

Commit b4d1701

Browse files
committed
fix: use Record<string, unknown> instead of type object
1 parent 3881262 commit b4d1701

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deno/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ declare namespace postgres {
520520
size(): Promise<[{ position: bigint, size: bigint }]>;
521521
}
522522

523-
type EscapableArray = (string | number | object)[]
523+
type EscapableArray = (string | number | Record<string, unknown>)[]
524524

525525
type Serializable = never
526526
| null

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ declare namespace postgres {
518518
size(): Promise<[{ position: bigint, size: bigint }]>;
519519
}
520520

521-
type EscapableArray = (string | number | object)[]
521+
type EscapableArray = (string | number | Record<string, unknown>)[]
522522

523523
type Serializable = never
524524
| null

0 commit comments

Comments
 (0)