react-localize-redux
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -0,1 +1,5 @@ | ||
## 3.1.2 (June 22, 2018) | ||
* Update the TypeScript definition for withLocalize [#98](https://github.com/ryandrewjohnson/react-localize-redux/pull/98) | ||
## 3.1.1 (June 17, 2018) | ||
@@ -2,0 +6,0 @@ |
@@ -211,5 +211,5 @@ import { | ||
export function withLocalize<Props extends {}>( | ||
export function withLocalize<Props extends LocalizeContextProps>( | ||
WrappedComponent: ComponentType<Props> | ||
): ComponentType<Props & LocalizeContextProps>; | ||
): ComponentType<Pick<Props, Exclude<keyof Props, keyof LocalizeContextProps>>>; | ||
@@ -216,0 +216,0 @@ export function TranslateChildFunction( |
@@ -211,5 +211,5 @@ import { | ||
export function withLocalize<Props extends {}>( | ||
export function withLocalize<Props extends LocalizeContextProps>( | ||
WrappedComponent: ComponentType<Props> | ||
): ComponentType<Props & LocalizeContextProps>; | ||
): ComponentType<Pick<Props, Exclude<keyof Props, keyof LocalizeContextProps>>>; | ||
@@ -216,0 +216,0 @@ export function TranslateChildFunction( |
{ | ||
"name": "react-localize-redux", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Localization library for handling translations in React", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
483933