2.0.6 • Published 2 years ago
@types/koa-basic-auth v2.0.6
Installation
npm install --save @types/koa-basic-auth
Summary
This package contains type definitions for koa-basic-auth (https://github.com/koajs/basic-auth).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-basic-auth.
index.d.ts
// Type definitions for koa-basic-auth 2.x
// Project: https://github.com/koajs/basic-auth
// Definitions by: Tobias Wolff <https://github.com/Tobias4872>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import * as Koa from "koa";
declare function auth(opts: {
name: string;
pass: string;
}): Koa.Middleware;
export = auth;
Additional Details
- Last updated: Fri, 09 Jul 2021 02:32:31 GMT
- Dependencies: @types/koa
- Global values: none
Credits
These definitions were written by Tobias Wolff.