iceshrimp-161sh/src/@types/koa-slow.d.ts
Acid Chicken (硫酸鶏) 15ff08fd5d Fix typo
2019-03-23 13:50:10 +09:00

15 lines
227 B
TypeScript

declare module 'koa-slow' {
import { Middleware } from 'koa';
interface ISlowOptions {
url?: RegExp;
delay?: number;
}
function slow(options?: ISlowOptions): Middleware;
namespace slow {} // Hack
export = slow;
}