Files
DefinitelyTyped/types/koa-html-minifier/index.d.ts
Romain Faust bb6b63a59b [@types/koa-html-minifier] Add type definitions (#27691)
* Add koa-router's Router to koa's Context

* [@types/koa-html-minifier] Add type definitions

* Fix incorrect TypeScript version
2018-07-30 13:08:58 -07:00

15 lines
443 B
TypeScript

// Type definitions for koa-html-minifier 1.0
// Project: https://github.com/koajs/html-minifier
// Definitions by: Romain Faust <https://github.com/romain-faust>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { Middleware } from 'koa';
import { Options } from 'html-minifier';
declare function minifier(options?: Options): Middleware;
declare namespace minifier {}
export = minifier;