From e830c9b573447b3aaacdb196d8347a3f9899fbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kry=C5=9Bkiewicz?= Date: Tue, 4 Jun 2019 22:54:03 +0200 Subject: [PATCH] Minor react-intl types fixes (#35836) * fix plural and relative prop types * update react-intl contributors --- types/react-intl/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/react-intl/index.d.ts b/types/react-intl/index.d.ts index cd1909b020..1012bdb30f 100644 --- a/types/react-intl/index.d.ts +++ b/types/react-intl/index.d.ts @@ -11,6 +11,7 @@ // Kanitkorn Sujautra // obedm503 // anion155 +// 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;