Skip to content

Commit

Permalink
fix: mark groupDelimiter and decimalDelimiter as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Oct 17, 2022
1 parent de86dad commit dafc682
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export type Locale = string;
export type Currency = string;

export type NumberFormat = Intl.ResolvedNumberFormatOptions & {
groupDelimiter: string;
decimalDelimiter: string;
groupDelimiter?: string;
decimalDelimiter?: string;
currencySymbol?: string;
currencyPosition?: 'prefix' | 'suffix';
};
Expand Down

0 comments on commit dafc682

Please sign in to comment.