Commit Graph

70 Commits

Author SHA1 Message Date
Jephir
50a4e099ba Allow keySeperator, nsSeperator = false (2.1.0)
https://github.com/i18next/i18next/blob/master/CHANGELOG.md#210
2017-01-21 21:09:51 -05:00
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
anwalkers
c26f701c54 remove .orig 2016-11-17 11:13:40 -08:00
anwalkers
bbd429b06e add options 2016-11-17 11:10:05 -08:00
anwalkers
1c5b9e39d4 Merge branch 'types-2.0' of https://github.com/DefinitelyTyped/DefinitelyTyped into types-2.0
# Conflicts:
#	i18next/index.d.ts
2016-11-16 15:13:45 -08:00
anwalkers
c124d2f210 add i18next.options to interface 2016-11-08 11:07:23 -08:00
Nathan Shively-Sanders
a4af2e4e31 Fix i18next merge 2016-08-10 07:13:51 -07:00
Nathan Shively-Sanders
15c9fdbdf1 Merge branch 'master' into types-2.0 2016-08-09 15:41:20 -07:00
anwalkers
1fb90278ce @mxl suggested for getting string literals working 2016-08-03 10:52:12 -07:00
anwalkers
d083424a0e rollback to non string literal type 2016-08-03 09:11:18 -07:00
anwalkers
ff3fe16390 attempt String Literal Type. tslint doesn't like them 2016-08-03 09:07:22 -07:00
anwalkers
71a58acf25 fixed implicit any 2016-08-02 15:40:55 -07:00
anwalkers
007a7ec5bf added other events and emitter.off 2016-08-02 15:38:29 -07:00
anwalkers
b5d87c636a Added event listeners 2016-08-02 08:58:08 -07:00
Ryan Cavanaugh
e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Michael Ledin
1eb1d55202 I18next: reverting default export (#10006)
* Revert "Fix i18next default export"

This reverts commit 48d8146a89.

* Revert "Fix i18next import"

This reverts commit 31a80af913.
2016-07-09 15:24:28 +09:00
Jan Zak
31a80af913 Fix i18next import 2016-07-04 11:34:41 +02:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Jan Zak
48d8146a89 Fix i18next default export 2016-06-29 23:18:47 +02:00
Raghav Katyal
89cb02de7d Fixing test failures 2016-06-27 17:40:37 -07:00
Raghav Katyal
c17b1b78b8 OldUMD and many other module fixes. 2016-06-20 14:15:13 -07:00
Doug Miller
9d10809d05 Added language and languages properties (#9372) 2016-05-21 08:35:43 -07:00
Ryan Cavanaugh
e105eabd48 Remove invalid references 2016-05-10 16:27:59 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
81862d240d More fixes 2016-05-04 22:50:05 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Nicholas Albion
129f08fb20 i18next.t("foo", {returnObjects: true}) returns an Object (#9077)
* `t("foo", {returnObjects: true})` returns an Object

* `t("foo", {returnObjects: true})` returns an Object

* () will return Object you will have to cast it to any to access properties
2016-04-25 23:34:26 +09:00
vvakame
b1880a7db7 improve i18next-sprintf-postprocessor/i18next-sprintf-postprocessor.d.ts 2016-03-29 00:06:14 +09:00
Michal Ledin
5bdb771c87 Updated i18next definitions to 2.3.4. 2016-03-19 13:37:45 +03:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Cyril Schumacher
36e064e2cb Fix error for "connect-timeout".
Add module to extend interface for "i18next".
Add default export for "express-brute-memcached".
Remove unnecessary interface for "i18next-express-middleware".
Add definitions for "i18next-browser-languagedetector" and "i18next-node-fs-backend".
2016-02-29 18:33:35 +01:00
vvakame
4de74cb527 normalize line ending (CRLF -> LF) 2016-02-16 01:20:30 +09:00
Cyril Schumacher
223d9bcb01 Fix error. 2016-01-14 19:55:18 +01:00
Cyril Schumacher
61b120cc79 Update definitions for "i18next" and "i18next-sprintf-postprecessor". 2016-01-14 19:51:12 +01:00
Cyril Schumacher
257f49655e Add options for "express-brute".
Add definition for "i18next-sprintf-postprocessor".
2016-01-14 19:17:06 +01:00
Cyril Schumacher
5f2a5d25bb Update definitions for "i18next-express-middleware", "i18next" and
"connect-timeout".
Remove "tscparams" file for "acc-wizard".
2016-01-07 16:23:33 +01:00
vvakame
833252b735 adhoc fix i18next/i18next.d.ts 2015-09-03 21:21:18 +09:00
TeamworkGuy2
06274a0a71 Added type definition for translate() 'options' parameter based on the source code from https://github.com/jamuhl/i18next/ 2015-08-22 18:51:52 +00:00
Watal M. Iwasaki
0bae9f2cb7 i18next: Modify 'callback' to take two arguments. 2015-07-19 22:24:02 +09:00