i18next-http-middleware 3.7.1 → 3.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.d.ts +2 -3
- package/esm/index.d.ts +2 -3
- package/index.d.ts +2 -3
- package/licence +1 -1
- package/package.json +1 -1
package/cjs/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Application,
|
|
3
3
|
Handler,
|
|
4
|
-
NextFunction,
|
|
5
4
|
Request,
|
|
6
5
|
RequestHandler,
|
|
7
6
|
Response,
|
|
@@ -80,8 +79,8 @@ export function koaPlugin(i18next: I18next, options?: HandleOptions): (context:
|
|
|
80
79
|
export function plugin(
|
|
81
80
|
instance: any,
|
|
82
81
|
options: HandleOptions & { i18next?: I18next },
|
|
83
|
-
next:
|
|
84
|
-
):
|
|
82
|
+
next: (err?: Error) => void
|
|
83
|
+
): void;
|
|
85
84
|
|
|
86
85
|
export function getResourcesHandler(
|
|
87
86
|
i18next: I18next,
|
package/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Application,
|
|
3
3
|
Handler,
|
|
4
|
-
NextFunction,
|
|
5
4
|
Request,
|
|
6
5
|
RequestHandler,
|
|
7
6
|
Response,
|
|
@@ -80,8 +79,8 @@ export function koaPlugin(i18next: I18next, options?: HandleOptions): (context:
|
|
|
80
79
|
export function plugin(
|
|
81
80
|
instance: any,
|
|
82
81
|
options: HandleOptions & { i18next?: I18next },
|
|
83
|
-
next:
|
|
84
|
-
):
|
|
82
|
+
next: (err?: Error) => void
|
|
83
|
+
): void;
|
|
85
84
|
|
|
86
85
|
export function getResourcesHandler(
|
|
87
86
|
i18next: I18next,
|
package/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Application,
|
|
3
3
|
Handler,
|
|
4
|
-
NextFunction,
|
|
5
4
|
Request,
|
|
6
5
|
RequestHandler,
|
|
7
6
|
Response,
|
|
@@ -80,8 +79,8 @@ export function koaPlugin(i18next: I18next, options?: HandleOptions): (context:
|
|
|
80
79
|
export function plugin(
|
|
81
80
|
instance: any,
|
|
82
81
|
options: HandleOptions & { i18next?: I18next },
|
|
83
|
-
next:
|
|
84
|
-
):
|
|
82
|
+
next: (err?: Error) => void
|
|
83
|
+
): void;
|
|
85
84
|
|
|
86
85
|
export function getResourcesHandler(
|
|
87
86
|
i18next: I18next,
|
package/licence
CHANGED