const Bigint = ( value ) : number | null => ( value === null ? value : Number ( value ) ) ; export const BigintTransformer = { to : ( to ) => to , from : ( from ) => ( Array . isArray ( from ) ? from . map ( Bigint ) : Bigint ( from ) ) } ;