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