mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-26 01:56:42 -06:00
15 lines
225 B
TypeScript
15 lines
225 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;
|
||
|
}
|