aishek / axios-rate-limit

Rate limit for axios
MIT License
237 stars 35 forks source link

fix: typescript typings for interface #34

Closed acao closed 5 months ago

acao commented 3 years ago

the interface methods were not defined properly

otherwise axiosInstance.setMaxRPS(), etc are not available when inferring the interface