mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
Update index.d.ts
This commit is contained in:
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user