mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 20:43:09 +02:00
14 lines
227 B
TypeScript
14 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;
|
|
}
|