Skip to content

Commit

Permalink
Merge pull request #347 from outline-insurance/null-value-in-typings
Browse files Browse the repository at this point in the history
Allow null value in TypeScript typing
  • Loading branch information
s-yadav authored Dec 11, 2020
2 parents 5e8da60 + 6eaaafa commit 98c97ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/number_format.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ declare module "react-number-format" {
format?: string | FormatInputValueFunction;
removeFormatting?: (formattedValue: string) => string;
mask?: string | string[];
value?: number | string;
value?: number | string | null;
defaultValue?: number | string;
isNumericString?: boolean;
customInput?: React.ComponentType<any>;
Expand Down

0 comments on commit 98c97ec

Please sign in to comment.