File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed
Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ export const inferType = function inferType(x) {
226226 ( x === true || x === false ) ? 16 :
227227 typeof x === 'bigint' ? 20 :
228228 Array . isArray ( x ) ? inferType ( x [ 0 ] ) :
229+ typeof x === 'object' && x !== null ? 3802 :
229230 0
230231 )
231232}
Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ const inferType = module.exports.inferType = function inferType(x) {
225225 ( x === true || x === false ) ? 16 :
226226 typeof x === 'bigint' ? 20 :
227227 Array . isArray ( x ) ? inferType ( x [ 0 ] ) :
228+ typeof x === 'object' && x !== null ? 3802 :
228229 0
229230 )
230231}
Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ export const inferType = function inferType(x) {
226226 ( x === true || x === false ) ? 16 :
227227 typeof x === 'bigint' ? 20 :
228228 Array . isArray ( x ) ? inferType ( x [ 0 ] ) :
229+ typeof x === 'object' && x !== null ? 3802 :
229230 0
230231 )
231232}
Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ declare namespace postgres {
520520 size ( ) : Promise < [ { position : bigint , size : bigint } ] > ;
521521 }
522522
523- type EscapableArray = ( string | number ) [ ]
523+ type EscapableArray = ( string | number | object ) [ ]
524524
525525 type Serializable = never
526526 | null
You can’t perform that action at this time.
0 commit comments