Minor react-intl types fixes (#35836)

* fix plural and relative prop types

* update react-intl contributors
This commit is contained in:
Tomasz Kryśkiewicz
2019-06-04 13:54:03 -07:00
committed by Andrew Casey
parent 648b0be3cc
commit e830c9b573
+3 -2
View File
@@ -11,6 +11,7 @@
// Kanitkorn Sujautra <https://github.com/lukyth>
// obedm503 <https://github.com/obedm503>
// anion155 <https://github.com/anion155>
// tkryskiewicz <https://github.com/tkryskiewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@@ -124,7 +125,7 @@ declare namespace ReactIntl {
/*
* one of "best fit" (default) | "numeric"
*/
style?: "best-fit" | "numeric";
style?: "best fit" | "numeric";
format?: string;
updateInterval?: number;
initialNow?: any;
@@ -176,7 +177,7 @@ declare namespace ReactIntl {
}
interface PropsBase extends Base {
other?: any;
other: any;
zero?: any;
one?: any;
two?: any;