mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 13:09:07 +01:00
15 lines
227 B
TypeScript
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;
|
|
}
|