react-i18next
Advanced tools
Comparing version 11.17.0 to 11.17.1
@@ -0,1 +1,5 @@ | ||
### 11.17.1 | ||
- Stricter typescript type for Trans components prop [1516](https://github.com/i18next/react-i18next/pull/1516) | ||
### 11.17.0 | ||
@@ -2,0 +6,0 @@ |
@@ -37,3 +37,3 @@ import i18next, { ReactOptions, i18n, ThirdPartyModule, WithT, TFunction, Resource } from 'i18next'; | ||
children?: React.ReactNode; | ||
components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode }; | ||
components?: readonly React.ReactElement[] | { readonly [tagName: string]: React.ReactElement }; | ||
count?: number; | ||
@@ -40,0 +40,0 @@ context?: string; |
{ | ||
"name": "react-i18next", | ||
"version": "11.17.0", | ||
"version": "11.17.1", | ||
"description": "Internationalization for react done right. Using the i18next i18n ecosystem.", | ||
@@ -120,5 +120,5 @@ "main": "dist/commonjs/index.js", | ||
"test:lint": "eslint ./src ./test", | ||
"test:typescript": "tslint --project tsconfig.json '**/*.ts'", | ||
"test:typescript:noninterop": "tslint --project tsconfig.nonEsModuleInterop.json '**/*.ts'", | ||
"test:typescript:customtypes": "tslint --project ./test/typescript/custom-types/tsconfig.json '**/*.ts'", | ||
"test:typescript": "tslint --project tsconfig.json '**/*.{ts,tsx}'", | ||
"test:typescript:noninterop": "tslint --project tsconfig.nonEsModuleInterop.json '**/*.{ts,tsx}'", | ||
"test:typescript:customtypes": "tslint --project ./test/typescript/custom-types/tsconfig.json '**/*.{ts,tsx}'", | ||
"contributors:add": "all-contributors add", | ||
@@ -125,0 +125,0 @@ "contributors:generate": "all-contributors generate", |
@@ -267,3 +267,3 @@ import i18next, { | ||
children?: TransChild | TransChild[]; | ||
components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode }; | ||
components?: readonly React.ReactElement[] | { readonly [tagName: string]: React.ReactElement }; | ||
count?: number; | ||
@@ -270,0 +270,0 @@ context?: string; |
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
353286