From dccb5d6e7963661e97b855987e6ff8cdf24820e2 Mon Sep 17 00:00:00 2001 From: socotra69 <35900970+socotra69@users.noreply.github.com> Date: Mon, 17 Dec 2018 10:44:00 +0100 Subject: [PATCH] Update index.d.ts --- types/koa-ratelimit/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/koa-ratelimit/index.d.ts b/types/koa-ratelimit/index.d.ts index 3a75e0a2ec..440de0eb25 100644 --- a/types/koa-ratelimit/index.d.ts +++ b/types/koa-ratelimit/index.d.ts @@ -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;