diff --git a/flow-typed/react-intl_vx.x.x.js b/flow-typed/react-intl_vx.x.x.js index 51b9563ae48..f5075d48b46 100644 --- a/flow-typed/react-intl_vx.x.x.js +++ b/flow-typed/react-intl_vx.x.x.js @@ -170,9 +170,9 @@ declare module 'react-intl' { future: RelativeTimeData; past: RelativeTimeData; } - declare export type FormatDateOptions = Exclude & + declare export type FormatDateOptions = Omit & CustomFormatConfig; - declare export type FormatDisplayNameOptions = Exclude; + declare export type FormatDisplayNameOptions = Omit; declare class FormatError mixins Error { +code: $Values; @@ -186,12 +186,12 @@ declare module 'react-intl' { constructor(msg: string, code: $Values, originalMessage?: string): this; toString(): string; } - declare export type FormatListOptions = Exclude; - declare export type FormatNumberOptions = Exclude & + declare export type FormatListOptions = Omit; + declare export type FormatNumberOptions = Omit & CustomFormatConfig; - declare export type FormatPluralOptions = Exclude & + declare export type FormatPluralOptions = Omit & CustomFormatConfig; - declare export type FormatRelativeTimeOptions = Exclude< + declare export type FormatRelativeTimeOptions = Omit< IntlRelativeTimeFormatOptions, 'localeMatcher', > & CustomFormatConfig;