i18next-http-backend
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -8,2 +8,6 @@ import { BackendModule, MultiReadCallback, ReadCallback } from "i18next"; | ||
type AddPathOption = | ||
| string | ||
| ((lng: string, namespace: string) => string) | ||
interface BackendOptions { | ||
@@ -18,5 +22,6 @@ /** | ||
/** | ||
* path to post missing resources | ||
* path to post missing resources, must be `string` or a `function` returning a path: | ||
* function(lng, namespace) { return customPath; } | ||
*/ | ||
addPath?: string; | ||
addPath?: AddPathOption; | ||
/** | ||
@@ -23,0 +28,0 @@ * your backend server supports multiLoading |
{ | ||
"name": "i18next-http-backend", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
79594
1486