Skip to content

Commit

Permalink
update typescript definition file
Browse files Browse the repository at this point in the history
- Get latest from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/i18next
- Set return type to `Promise` for `init`, `changeLanguage`, `loadNamespaces`, `loadLanguages` and `reloadResources` methods
- Remove `DetectionPluginOptions`, `BackendPluginOptions` and `CachePluginOptions` since simple `object` work in the same way
- Specify range of values for `compatibilityJSON`
- Add interfaces for modules: `backend`, `languageDetector`, 'postProcessor' and `logger`
- Uppercase first letter in comment
  • Loading branch information
nikolay-borzov committed Dec 20, 2018
1 parent 85637ee commit fc6447a
Showing 1 changed file with 198 additions and 77 deletions.

0 comments on commit fc6447a

Please sign in to comment.