DefinitelyTyped/types/koa-basic-auth/index.d.ts
Andy 954ee278de
Update TypeScript Versions to be at least as high as dependencies' versions (#21288)
* Update `TypeScript Version`s to be at least as high as dependencies' versions

* Run through again
2017-11-08 09:12:14 -08:00

15 lines
376 B
TypeScript

// 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/Tobias4872/DefinitelyTyped
// TypeScript Version: 2.3
import * as Koa from "koa";
declare function auth(opts: {
name: string;
pass: string;
}): Koa.Middleware;
export = auth;