nestjs / throttler

A rate limiting module for NestJS to work with Fastify, Express, GQL, Websockets, and RPC 🧭
https://nestjs.com
MIT License
629 stars 60 forks source link

Lost export #2087

Closed TrejGun closed 2 months ago

TrejGun commented 3 months ago

Is there an existing issue for this?

Current behavior

ThrottlerRequest used in readme.md for WsThrottlerGuard is not exported from src/index

Minimum reproduction code

https://github.com/nestjs/throttler/blob/master/README.md

Steps to reproduce

No response

Expected behavior

interface is exported

Package version

6.1.1

NestJS version

No response

Node.js version

No response

In which operating systems have you tested?

Other

No response

micalevisk commented 3 months ago

I guess it's just a missing export * from './throttler.guard.interface.ts'; at src/index.ts

TrejGun commented 3 months ago

yeah , I created a PR https://github.com/nestjs/throttler/pull/2088