Skip to content

Commit 1817387

Browse files
fix: include missing boolean type in JSONValue union (#373)
1 parent 02f3854 commit 1817387

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@ declare namespace postgres {
477477
| null
478478
| string
479479
| number
480+
| boolean
480481
| Date // serialized as `string`
481482
| readonly JSONValue[]
482483
| { toJSON(): any } // `toJSON` called by `JSON.stringify`; not typing the return type, typings is strict enough anyway

0 commit comments

Comments
 (0)