-
In version 8.0.1,
index.d.ts
file was moved outside of lib directory and renamed totypes.d.ts
. -
v8.0.0 [BREAKING CHANGES]
RateLimiterQueueError
import was changed in TypeScript projects.
It should be imported from defaults now.
import { RateLimiterQueueError } from "rate-limiter-flexible"
TS definition for RateLimiterQueueError was moved to types.d.ts.
Thanks @wildfluss and @PaulAnnekov for help.
💿