Socket
Socket
Sign inDemoInstall

@types/koa-mount

Package Overview
Dependencies
18
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/koa-mount

TypeScript definitions for koa-mount


Version published
Weekly downloads
68K
decreased by-2.5%
Maintainers
1
Install size
4.05 MB
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/koa-mount

Summary

This package contains type definitions for koa-mount (https://github.com/koajs/mount).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-mount.

index.d.ts

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: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: @types/koa

Credits

These definitions were written by Tomek Łaziuk, and Vladislav Polyakov.

FAQs

Last updated on 07 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc