@formatjs/intl
Advanced tools
Comparing version 1.4.5 to 1.4.6
import { OptionalIntlConfig, IntlCache, IntlShape } from './types'; | ||
export interface CreateIntlFn<T = string> { | ||
(config: OptionalIntlConfig<T>, cache?: IntlCache): IntlShape<T>; | ||
export interface CreateIntlFn<T = string, C extends OptionalIntlConfig<T> = OptionalIntlConfig<T>, S extends IntlShape<T> = IntlShape<T>> { | ||
(config: C, cache?: IntlCache): S; | ||
} | ||
@@ -5,0 +5,0 @@ /** |
{ | ||
"name": "@formatjs/intl", | ||
"version": "1.4.5", | ||
"version": "1.4.6", | ||
"description": "Internationalize JS apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
import { OptionalIntlConfig, IntlCache, IntlShape } from './types'; | ||
export interface CreateIntlFn<T = string> { | ||
(config: OptionalIntlConfig<T>, cache?: IntlCache): IntlShape<T>; | ||
export interface CreateIntlFn<T = string, C extends OptionalIntlConfig<T> = OptionalIntlConfig<T>, S extends IntlShape<T> = IntlShape<T>> { | ||
(config: C, cache?: IntlCache): S; | ||
} | ||
@@ -5,0 +5,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125989