🐛 Bug Report
TS says createInstance exists on an instance, but it doesn't.
To Reproduce
StackBlitz
Open the console and see the error.
import i18next from 'i18next';
const instance = i18next.createInstance()
instance.createInstance(); // errors at runtime, but TS is fine with it
Expected behavior
TS shows an error when trying to use createInstance on an instance.
🐛 Bug Report
TS says
createInstanceexists on an instance, but it doesn't.To Reproduce
StackBlitz
Open the console and see the error.
Expected behavior
TS shows an error when trying to use
createInstanceon an instance.