Commit Graph

18948 Commits

Author SHA1 Message Date
CodeAnimal
4e00b9e8dc Update to version 2.20.4
Update methods from node-validator
(https://github.com/chriso/validator.js) and update express-validator
methods to adhere to the latest api.
2016-05-12 22:24:49 +01:00
CodeAnimal
82a7e73511 Merge remote-tracking branch 'refs/remotes/DefinitelyTyped/master' 2016-05-11 23:09:11 +01:00
Chris Long
8886ae5917 User defined type guards in Moment (#9282) 2016-05-11 13:33:38 +09:00
Daniel Rosenwasser
494295c731 Merge pull request #9284 from geof90/patch-1
Update cordova.d.ts
2016-05-10 16:59:59 -07:00
Geoffrey Goh
844831b968 Update cordova.d.ts 2016-05-10 16:49:18 -07:00
Geoffrey Goh
c2bdcedfd5 Update cordova.d.ts 2016-05-10 16:04:24 -07:00
John Reilly
741430a178 Merge pull request #9261 from StuartMoore/master
Fix JQueryUi zindex() function to return a number, not a JQuery.
2016-05-10 17:52:58 +01:00
Richard Hepburn
1e05cdb618 Update isBetween method to support inclusivity (#9267)
Updated the isBetween method declaration to support the inclusivity parameter introduced in MomentJS 2.13.0
2016-05-11 01:09:31 +09:00
Stuart Moore
7c6411053f Fix JQueryUi zindex() function to return a number, not a JQuery. Relevant documentation: https://api.jqueryui.com/zIndex/ 2016-05-09 17:00:24 +01:00
Masahiro Wakame
6d0e826824 update node.d.ts, remove typing notes (#9259) 2016-05-10 00:45:15 +09:00
neilculver
802e89cae7 type definitions for db.js (#9260)
* started work on a db.js typings

* added support for dynamic object stores keys

* started creating definitions for fluent query API

* Further work on db.js typings

* Continued work on db.js typings

* Further work on db.js typings

* Fixed db.js typings for noImplicitAny TS option

* removed ref to es6 promises.

* remove tscofig.json
2016-05-10 00:36:07 +09:00
Emanuel Henrique do Prado
bc5a137b59 Added type definition for Knex.Migration (#9227)
* Added type definition for Knex.Migration

Signed-off-by: Emanuel Henrique do Prado <emanuel@tls.inf.br>

* Corrected Knex test according documentation (http://knexjs.org/#Migrations-currentVersion)

* Change name Migration to Migrator, according the original source
2016-05-10 00:35:20 +09:00
Miroshin Stepan
3d51112b02 xadesjs (#9256)
* xadesjs beta

* Add test & set version

* Fix def errors

* Change Promise to PromiseType

* Fix test error
2016-05-10 00:33:44 +09:00
Evan Hahn
6711754cf0 Add Evan Hahn as a contributor to the Helmet module (#9248)
This is after contributing the following commits:

- 329055d0c67349f7588a18880f71268934c9a461
- b20485f598
- db57ec3afd
- 5c80bce0dd
- 70262bcb3e
2016-05-10 00:28:14 +09:00
Cyril Schumacher
d075e7c29e Add definition for "restler". (#9244) 2016-05-10 00:25:14 +09:00
Matthieu Mourisson
e42789a720 Add type definition for morris.js (morrisjs.github.io/morris.js/) (#9189)
* Added definition for line, area and donut chart options

* Added bar charts options

* Added JSDoc everywhere

* Added morris-test.ts test

* Added SetData function on chart objects

* renamed morris.d.ts to morris.js.d.ts

* rename morris-test.ts to morris-tests.ts

* test fix

* file renaming
2016-05-10 00:23:29 +09:00
Luka Jeran
d907a0156a Fix IFormController methods in angular.d.ts (#9234) 2016-05-10 00:04:41 +09:00
goonsunday
70e45e7ac8 Add optional parameter extraHeaders to soap method. (#9233) 2016-05-10 00:03:58 +09:00
Joseph M Blank
9ea072966d Added definition for jQuery Steps. (#9230)
* Added definition for jQuery Steps.

* Renamed files to match npm naming.

* Fixed reference in test file.
2016-05-10 00:01:48 +09:00
Gwyn Judd
66dcd24735 Made fragmentOverride parameter for loadUrl optional (#9229) 2016-05-09 23:57:56 +09:00
Isman Usoh
b332be4e13 Add a new type definition for Randomstring (#9252)
* Create randomstring-tests.ts

* Create randomstring.d.ts
2016-05-09 17:38:42 +09:00
Linda_pp
d9e73fad7d github-electron: Fix callback's return type of app.makeSingleInstance() (#9250)
The callback should return `void`, not `boolean`.

https://github.com/electron/electron/blob/master/docs/api/app.md#appmakesingleinstancecallback
2016-05-09 17:37:39 +09:00
Andrey Lipatkin
00cb576708 Fixing favIconUrl property name typo for TabChangeInfo class (#9249)
* Fixing favIconUrl property name typo for TabChangeInfo class

* Empty commit to trigger Travis CI
2016-05-09 17:36:26 +09:00
Leonid Suprun
cd61385a5d sugarjs: DateRange update (#9243) 2016-05-09 17:32:18 +09:00
jacky.chen
557f086186 Fixed the incorrect parameter type in the constructor of https.Agent (#9232) 2016-05-09 17:28:09 +09:00
Rajab Shakirov
4119c4ab78 update react-calendar-timeline.d.ts (#9238)
by issue: https://github.com/namespace-ee/react-calendar-timeline/issues/17#issuecomment-217128161
2016-05-09 17:25:37 +09:00
Ramil Kadraliev
f882b322b9 Renamed queryString in SignalR.Hub.Options to qs (#9214)
for setting query string parameter Signalr's method 'hubConnection' processes 'options.qs' parameter , not 'options.queryString'
2016-05-09 17:24:39 +09:00
James Tarling
af57239852 Fix for duplicate USB event (#9236) 2016-05-09 17:23:49 +09:00
Jason Jarrett
6052959591 Merge pull request #8337 from eloekset/Globalize
Globalize definition for NuGet package v0.1.3.
2016-05-06 09:58:33 -07:00
Evan Martin
ea5859b23c fix the type of google-closure-compiler CompileOptions (#9228)
The type shown in the JSDoc is wrong.  This patch copies the sample
code from the README into the test to verify that the type is right.
2016-05-06 07:44:19 -06:00
PatrickJS
02ba1e3e95 Update falcor-http-datasource.d.ts (#9087) 2016-05-06 17:38:07 +09:00
Christian Beilschmidt
cf059e978e add setExtent to ol.proj.Projection and make transform ol.geom.Point accept ol.proj.Projection (#9076)
* make transform `ol.geom.Point` accept `ol.proj.Projection`

* transform is described here: http://openlayers.org/en/v3.0.0/apidoc/ol.geom.Point.html#transform
** "Can be a string identifier or a ol.proj.Projection object."

* add `setExtent` to ol.proj.Projection

* setExtent is described here: http://openlayers.org/en/v3.0.0/apidoc/ol.proj.Projection.html#setExtent
** "Type `ol.Extent`"
2016-05-06 17:34:08 +09:00
Molly Ling
067edc80b9 Added ecdhBob() to freedom.d.ts. (#9221)
* Added ecdhBob() to freedom.d.ts.

* Updated version number for freedom.

* Updated style.
2016-05-06 04:01:40 +09:00
Dan Vanderkam
a34efe0fd8 Allow _.min(object) and _.max(object). (#9222)
Fixes #8961
2016-05-06 04:01:21 +09:00
Xavier Stouder
2102cab39a Add property (#9220) 2016-05-06 03:59:22 +09:00
Marcel Buesing
48352f5f29 Enable ES6 like import syntax for nedb (#9217)
* Enable ES6 like import syntax for nedb

* Add nedb v1.8 changes
2016-05-06 03:59:10 +09:00
delphinus
ba346f04dc Add definition for backbone-fetch-cache (#9216) 2016-05-06 03:57:35 +09:00
Michael Seemann
402d392c68 add static method isValid to type ObjectId. see https://github.com/mongodb/js-bson/blob/master/lib/bson/objectid.js (#9213) 2016-05-06 03:55:35 +09:00
WuJun
03273c1dbe Add ts define file for avoscloud-sdk in npm. (#9147)
* Add ts define file for avoscloud-sdk in npm.

* rename  file by comments.
2016-05-06 03:54:52 +09:00
philippdrebes
16debdc8db Added a property to the bootstrap.datepicker definition (#9212)
* bootstrap.datepicker: added property assumeNearbyYear to DatepickerOptions

* bootstrap.datepicker: formatting
2016-05-06 03:52:15 +09:00
murraybauer
69111ae0ba Union & Intersection should return a Twix object (#9210)
Union & Intersection functions currently return a string type, this should be a Twix object.

See docs: http://isaaccambron.com/twix.js/docs.html
2016-05-06 03:49:28 +09:00
Jiawei Li
f748ed9ab5 fix(backbone): add Collection.add merge option (#9195)
This option is documented at http://backbonejs.org/#Collection-add.
2016-05-06 03:43:14 +09:00
Vladimir
198189b722 Fixed wrong definition for aws sns publish method (#9205)
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SNS.html#publish-property
2016-05-06 03:19:32 +09:00
Derrick Liu
cc14a78043 react-select: update props to match Select and Async source files (#9127)
* Add an export for Option so we can use it directly

* Update tests to import the newly exported Option

* Add missing props from latest `react-select` 1.0.0-beta12

* Add menuRenderer function and interface for its named props

* This argument should be optional.

* `tabSelectsValue` should be a boolean, not a string

* Update tests with new props

* Export menu renderer props so devs can write typesafe `menuRenderer` functions

* Make sure to check exports in tests, since it's likely users won't be using <reference... >
2016-05-06 03:17:45 +09:00
mick delaney
f86e99d05c Universal Access To The Module (#9206)
Redeclare as Global module.
2016-05-06 03:12:02 +09:00
Giedrius Grabauskas
c8393a0018 Added type definitions for react-swipeable (#9204)
* Init react-swipeable.d.ts file

* Added react-swipeable-tests.tsx file.
2016-05-06 03:04:41 +09:00
Olivier Adam
30f28ebb7d Make nunjucks typings usable without AMD (#9201)
The existing typings were only usable when using modules. Using the
global `nunjucks` variable was not possible.

I used `js-yaml/js-yaml.d.ts` as an example of a typing that was usable
both as a module and as a global variable.

The indentation of the whole file was changed because the base
indentation used to be 2 (namespace inside module) and is now 1.

The existing test is working as is.
2016-05-06 02:45:32 +09:00
Pascal Birchler
347d4d7614 Update jsonwebtoken typings for 6.2.0 (#9200)
* Update SignCallback for jsonwebtoken 6.0 compat

* Update whole definition for jsonwebtoken 6.2.0

* Update signature for jwt.sign() in tests

* Change type of error callback param
2016-05-06 02:36:17 +09:00
Andrew Fong
51baa79ead Add exportChartLocal function for HighCharts (#9194) 2016-05-06 02:33:40 +09:00
t_
2eaeb872aa update ISelection in atom/atom.d.ts (#9198) 2016-05-06 02:33:16 +09:00