Commit Graph
6 Commits
Author SHA1 Message Date
AlenandAlen Liang bcfc7d0934 change interface of i18next as v8.4.2 2017-06-27 17:12:15 +08:00
Josh GoldbergandAndy 2bd01e84f7 Expanded Sinon's createStubInstance to allow a TType generic (#16730)
* Expanded Sinon's createStubInstance types

* Defaulted createStubInstance behavior to not use the better types

TType gets inferred to `{}` by default. Odd.

* Removed commented out typings

* Removed unnecessary imports from i18next-tests

* Added TS 2.2 notices

* Bumped TS versions to 2.3

* Consolidated optional types for StubbableType

* Update index.d.ts
2017-06-03 15:04:06 -07:00
Budi IrawanandMohamed Hegazy 15d14159ba improve fallback language (#16236)
- add def for array of string
- add def for object list
2017-05-01 13:44:20 -07:00
mulles3008andSheetal Nandi 038ab80ad1 Added wait to i18n.Options interface (#16154)
* Added wait to i18n.Options interface

Enables setting global wait-flag. Important for react-i18next>=3.1.0
(https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md#310)

* Added interface i18n.ReactOptions for options specific to react-i18next
2017-04-27 11:06:55 -07:00
Jan KlimkeandSheetal Nandi 8e24694620 Updated 18next exists method and added ability to use string interpolation arguments (#16124)
* Updated i18next extists function definition 

and allow for additional interpolation options to be passed as TranslationOptions

* Updated 18next test

* i18next fixed typing of exists key parameter

* i18next Fixed test typo
2017-04-26 14:35:57 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00