Commit Graph

7 Commits

Author SHA1 Message Date
Giedrius Grabauskas
dc34e6c831 Updated react-i18next types to 4.6.1 (#17715)
* Create tslint.json

* Moved v1 types to specified version folder.

* Created types for react-i18next.

* Exported as global UMD module.

* Added more tests.

* Fixed dtslint errors.

* Removed @KostyaEsmukov from the authors list.

* Added addition data for Trans component.

* Added typescript 2.3 support.

* Added generic TKey for translate method.

* Removed path map to i18next/v2.

* Fixed dtslint error.

* Fixed ts error.
2017-07-17 10:53:29 -07:00
Giedrius Grabauskas
b4913f384e Updated i18next types to v8.4 and added missing v2 version (#17702)
* undertaker-registry initial commit.

* Created index.d.ts for undertaker-registry

* Created tslint.json for undertaker-registry

* Created tests for undertaker-registry.

* Create tslint.json

* Moved v2 version and created initial files.

* Updated types of i18next.

* Locked versions for dependents.

* Improved tests.

* Fixed ts error.

* Updated to backwards compatible naming.

* Added missing event remover method.

* Fixed tslint errors.

* Added missing variables.

* Added missing compatibilityJSON argument.

* Fixed dtslint error.

* Updated naming and implemented TranslationOptions.

* Fixing and removed wrong implementation. Updating some comments.

* Creted FormatFunction type. TranslationOptionsBase changed to TranslationOptions.

* Updated interpolation options defaults in jsdocs.

* Wrapped all @default values with single-quotes.

* Updated FormatFunction type. Fixed tests.

* Fixed dtslint errors.

* Typescript 2.3 and changed to `object`.

* Added TypeScript 2.3 support.

* Added generics for TranslationFunction, `t` and `exists` methods.

* Created TranslationResult type with default `string` generic value.

* Added tests for generics. Updated return types for translation method.

* Updated `parseMissingKeyHandler` return type.

* TranslationFunction TResult default value changed to any.

* Removed references and ts 2.3 version from i18next-express-middleware.

* Removed reference and ts 2.3 version from i18next-node-fs-backend.

* Removed reference and ts 2.3 version from i18next-sprintf-postprocessor.

* Added mapping path to i18next/v2.

* Created TranslationFunction interface.

* Fixed dtslint errors.

* Fixed `callable-types` tslint error.

* Updated exists method type.

* Fixed tests for `exists` method.

* Removed ts 2.3 version and reference to i18next type.
2017-07-17 09:54:08 -07:00
Tanguy Krotoff
573083a518 Replace React.Component<(any|void|\{\}|null)> by React.Component
+ many manual adjustments
2017-06-21 09:48:37 +02:00
Tanguy Krotoff
ea9de8a518 Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff
eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
Oden
55d680e198 Remove unneeded and broken react-router dependency from react-i18next (#16228) 2017-05-01 13:13:41 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00