Commit Graph

6 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08: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
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
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00