Commit Graph

62 Commits

Author SHA1 Message Date
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
Watal M. Iwasaki
aaa447bd7e i18next: Add init() and setLng() with a two-arg callback 2015-07-17 00:51:16 +09:00
David Sidlinger
8eab092b03 Allow string or boolean for fallbackLng 2015-07-08 10:39:45 -05:00
Lucy He
f3797dc850 Move function so typings are alphabetical. 2015-06-05 18:10:15 -04:00
Lucy He
279425d25f Add typing for addResources. Export i18next-client module. 2015-06-05 18:04:26 -04:00
Andrey Taritsyn
c4efb1a690 i18next: Add declaration of external module 2015-02-11 19:21:55 +03:00
ruslanmogilevskiy
8cf3af3240 Update i18next.d.ts
Fix the global variable name from i18next to i18n
2014-10-13 18:20:13 +03:00
Panu Horsmalahti
97a4f36d64 Add exists function to i18next 2014-09-16 12:19:41 +03:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00