@types/koa-mount
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -11,12 +11,12 @@ // Type definitions for koa-mount 4.0 | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT>, | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
prefix: string, | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
prefix: string, | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT>, | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare namespace mount { } | ||
declare namespace mount {} | ||
export = mount; |
{ | ||
"name": "@types/koa-mount", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "TypeScript definitions for koa-mount", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount", | ||
}, | ||
"typesPublisherContentHash": "76affbdd918615b4a05fe650d8d5896bfd75c287bab208884ada372add75a338", | ||
"typeScriptVersion": "4.1" | ||
"typesPublisherContentHash": "d72ac9bd384b209c4d382cf45b4d27cb3fac52f2fef11e3b76b6f3f5126a798e", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -21,11 +21,11 @@ # Installation | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT>, | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>( | ||
prefix: string, | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT> | ||
prefix: string, | ||
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT>, | ||
): Koa.Middleware<StateT, ContextT>; | ||
declare namespace mount { } | ||
declare namespace mount {} | ||
@@ -37,3 +37,3 @@ export = mount; | ||
### Additional Details | ||
* Last updated: Mon, 24 Oct 2022 19:32:46 GMT | ||
* Last updated: Thu, 14 Sep 2023 01:49:18 GMT | ||
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa) | ||
@@ -40,0 +40,0 @@ * Global values: none |
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
4368