mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
544 B
TypeScript
17 lines
544 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 { 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;
|