Commit Graph

16 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Simon Baumann
46eb278d85 [@types/react-i18next] Updating type definitions to latest library version (#21881)
* Added updated typings for react-i18next

* Fixed linting issues

* Removed typings for deprecated version

* Fixed build and updated typescript version in header

* Readded old version

* Updated PR with suggestions

* Removed unused files
2018-01-02 13:09:43 -08:00
Micha Reiser
0357d79df8 Enable Strict Function Types 2017-12-14 12:58:41 +01:00
Micha Reiser
c46598893c React-i18next Generic translate
Fixes #16395
2017-12-14 12:58:41 +01:00
Micha Reiser
78c2b845a6 Backup v4 2017-12-14 12:58:41 +01:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
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