(intl?: any)
| 15 | } |
| 16 | |
| 17 | export function invariantIntlContext(intl?: any): asserts intl { |
| 18 | invariant( |
| 19 | intl, |
| 20 | '[React Intl] Could not find required `intl` object. ' + |
| 21 | '<IntlProvider> needs to exist in the component ancestry.' |
| 22 | ) |
| 23 | } |
| 24 | |
| 25 | export type DefaultIntlConfig = Pick< |
| 26 | ResolvedIntlConfig, |
no test coverage detected