Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/koa-mount

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/koa-mount - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

12

koa-mount/index.d.ts

@@ -11,10 +11,10 @@ // Type definitions for koa-mount 4.0

declare function mount<StateT = any, CustomT = {}>(
app: Koa.Middleware<StateT, CustomT> | Koa<StateT, CustomT>
): Koa.Middleware<StateT, CustomT>;
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>(
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT>
): Koa.Middleware<StateT, ContextT>;
declare function mount<StateT = any, CustomT = {}>(
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>(
prefix: string,
app: Koa.Middleware<StateT, CustomT> | Koa<StateT, CustomT>
): Koa.Middleware<StateT, CustomT>;
app: Koa.Middleware<StateT, ContextT> | Koa<StateT, ContextT>
): Koa.Middleware<StateT, ContextT>;

@@ -21,0 +21,0 @@ declare namespace mount { }

{
"name": "@types/koa-mount",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for koa-mount",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount",
"license": "MIT",

@@ -24,3 +25,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -35,4 +36,4 @@ "type": "git",

},
"typesPublisherContentHash": "14b4bba675a602489c8cbf842e19dd4f3b912142368c605bed5621f45388f29b",
"typeScriptVersion": "2.3"
"typesPublisherContentHash": "ee91b2a00d7ad0c8add8f4f1a67c6e95feb250eb007e28418c2caed8e6c1fbd8",
"typeScriptVersion": "3.7"
}

@@ -8,10 +8,36 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount/index.d.ts)
````ts
// Type definitions for koa-mount 4.0
// Project: https://github.com/koajs/mount
// Definitions by: AmirSaber Sharifi <https://github.com/amirsaber>
// Tomek Łaziuk <https://github.com/tlaziuk>
// Vladislav Polyakov <https://github.com/polrk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
Additional Details
* Last updated: Thu, 27 Jun 2019 18:01:33 GMT
* Dependencies: @types/koa
import Koa = require("koa");
declare function mount<StateT = Koa.DefaultState, ContextT = Koa.DefaultContext>(
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>
): Koa.Middleware<StateT, ContextT>;
declare namespace mount { }
export = mount;
````
### Additional Details
* Last updated: Wed, 25 Aug 2021 04:01:22 GMT
* Dependencies: [@types/koa](https://npmjs.com/package/@types/koa)
* Global values: none
# Credits
These definitions were written by AmirSaber Sharifi <https://github.com/amirsaber>, Tomek Łaziuk <https://github.com/tlaziuk>, and Vladislav Polyakov <https://github.com/polrk>.
These definitions were written by [AmirSaber Sharifi](https://github.com/amirsaber), [Tomek Łaziuk](https://github.com/tlaziuk), and [Vladislav Polyakov](https://github.com/polrk).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc