Skip to content

Commit

Permalink
feat(@formatjs/intl-numberformat): TS to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Aug 30, 2020
1 parent ec0bd47 commit d77b58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/intl-numberformat/src/core.ts
Expand Up @@ -125,7 +125,7 @@ const formatDescriptor = {
let boundFormat = internalSlots.boundFormat;
if (boundFormat === undefined) {
// https://tc39.es/proposal-unified-intl-numberformat/section11/numberformat_diff_out.html#sec-number-format-functions
boundFormat = (value?: number) => {
boundFormat = (value?: number | bigint) => {
// TODO: check bigint
const x = toNumeric(value) as number;
return numberFormat
Expand Down

0 comments on commit d77b58d

Please sign in to comment.