Add BigInt support
eropple opened this issue · comments
Right now, we type-infer number
, but (because we have to) we type-infer it to a float.
NodeJS 10.4 and up support BigInt
, which we could and probably should standardize on for { type: 'integer' }
. In doing so we can also add it to the coercion rules.