I noticed some of our pgtyped files were returning a potentially null result even though they shouldn't be null. It turns out that pgtyped infers nullish whenever you use the encode function. I used the ! operate to remove the nullability of these types
This PR does two things:
pgtyped
to v2.x.xnull
result even though they shouldn't be null. It turns out thatpgtyped
infers nullish whenever you use theencode
function. I used the!
operate to remove the nullability of these types