microlinkhq / async-ratelimiter

Rate limit made simple, easy, async.
MIT License
320 stars 23 forks source link

fix: update ioredis types usage for v5 #36

Closed arnidan closed 2 years ago

arnidan commented 2 years ago

Fixes

node_modules/async-ratelimiter/index.d.ts:6:11 - error TS2702: 'Redis' only refers to a type, but is being used as a namespace here.

6       db: Redis.Redis;
            ~~~~~
arnidan commented 2 years ago

Hi @Kikobeats

I guess there's something wrong with CI's GH_TOKEN variable.

https://github.com/microlinkhq/async-ratelimiter/blob/master/.github/workflows/main.yml#L18

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2882701496


Totals Coverage Status
Change from base Build 2882700631: 0.0%
Covered Lines: 59
Relevant Lines: 59

💛 - Coveralls
Kikobeats commented 2 years ago

Thanks a lot!