Skip to content

Commit

Permalink
fix(types): re-export rate limiter options
Browse files Browse the repository at this point in the history
  • Loading branch information
djMax committed Jan 22, 2024
1 parent 92ab1fd commit cbf95ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { ServiceExpress } from '@openapi-typescript-infra/service';
import type { RedisOptions, Redis } from 'ioredis';
import { IRateLimiterOptions, RateLimiterRedis, RateLimiterMemory, RateLimiterAbstract, IRateLimiterRes } from 'rate-limiter-flexible';

export type { IRateLimiterOptions } from 'rate-limiter-flexible';

const FAIL: IRateLimiterRes = {
remainingPoints: -1,
consumedPoints: -1,
Expand Down

0 comments on commit cbf95ca

Please sign in to comment.