Update index.d.ts

This commit is contained in:
socotra69
2018-12-17 10:44:00 +01:00
committed by GitHub
parent 6a5e2cc314
commit dccb5d6e79
+2 -2
View File
@@ -7,7 +7,7 @@
import { Middleware, Context } from "koa";
import { RedisClient } from "redis";
declare function ratelimit(options?: KoaRatelimit.MiddlewareOptions): Middleware;
declare function KoaRatelimit(options?: KoaRatelimit.MiddlewareOptions): Middleware;
declare namespace KoaRatelimit {
interface HeaderNameOptions {
@@ -76,4 +76,4 @@ declare namespace KoaRatelimit {
}
}
export = ratelimit;
export = KoaRatelimit;