mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
* Add koa-router's Router to koa's Context * [@types/koa-html-minifier] Add type definitions * Fix incorrect TypeScript version
15 lines
443 B
TypeScript
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;
|