Closed kornel-kedzierski closed 5 years ago
interface GetOptions { id?: string; max?: number; duration?: number; // decrease?: boolean; //// MISSING //// }
async get ({ id = this.id, max = this.max, duration = this.duration, decrease = true } = {}) {
https://github.com/microlinkhq/async-ratelimiter/pull/18
fixed in 1.2.2
index.d.ts
src/index.js