// Type definitions for basic-auth // Project: https://github.com/jshttp/basic-auth // Definitions by: Clément Bourgeois // Definitions: https://github.com/borisyankov/DefinitelyTyped /// declare module "basic-auth" { function auth(req: Express.Request): auth.BasicAuthResult; namespace auth { interface BasicAuthResult { name: string; pass: string; } } export = auth; }