i18next / i18next-http-backend

i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
MIT License
454 stars 70 forks source link

Add reloadInterval option to type definitions #60

Closed pedrodurek closed 3 years ago

pedrodurek commented 3 years ago

Fix: https://github.com/i18next/i18next-http-backend/issues/59

Checklist

adrai commented 3 years ago

probably false | number is better?

pedrodurek commented 3 years ago

ohhh, so it's not just a boolean, it also accepts number values, is that it? Does it also accept true (that defaults to something)?

adrai commented 3 years ago

Just checked, it's exactly like here: https://github.com/locize/i18next-locize-backend/blob/master/index.d.ts#L63 ;-)

pedrodurek commented 3 years ago

Fixed!

adrai commented 3 years ago

thx