Commit Graph
18985 Commits
Author SHA1 Message Date
Tristan Geraets 6d46dce92e Update meteor.d.ts (#9323)
Missing property Meteor.isTest added, this flag is missing from the official docs as well but referenced in the [guide](http://guide.meteor.com/v1.3/testing.html#test-modes)
2016-05-15 02:48:53 +09:00
Tanguy Krotoff bb5d8ea26c Improve bookshelf.d.ts and tests (#9297)
* Switch to ES6 imports

* Add attributes and length

* Various improvements + add more tests

- Fix destroy()
- Fix detach()
- Fix map()
- Add NotFoundError, NoRowsUpdatedError and NoRowsDeletedError on Model

* serialize() and toJSON() should return Object/Object[] instead of any

* Fix map()

* More tests taken from Bookshelf website + various fixes

- Fix Bookshelf.transaction return type
- Add id attribute on ModelBase
- Improve ModelBase.parse()
- Fix Model.query()
- Add a constructor to CollectionBase
- Fix CollectionBase.map()
- Fix Collection.attach()
- Fix Collection.query()
- Add Collection.EmptyError
- Fix LoadOptions and FetchOptions withRelated

* No need to specify Knex.QueryBuilder

* toJSON(): Object/Object[] is too restrictive, revert back to any/any[]

* Model.through() returns R, Collection.through() returns Collection<R>
2016-05-15 02:43:57 +09:00
Andrey Lipatkin da5d70b6cb Feature/add jquery visible definition (#9251)
* Added definition for jquery-visible library

* Added EOL for last lines of jquery-visible definition and test files

* Renaming definition to df-visible in order to match package name in bower
2016-05-15 02:43:37 +09:00
Max Battcher ccf227b5a8 Add explicit string types to GeoJson definition (#9333)
* Add explicit string types to GeoJson definition

The type names for each interface are explicit in the GeoJson spec and this uses recent TypeScript support for string valued types to make this much more obvious and to check this for us.

* Add explicit type hints to turf tests

Shape-based inferencing in Typescript does not currently appear to support string literal types in TS 1.8.
2016-05-15 02:42:38 +09:00
Markus Wagner 3644ba6e4f Update log4javascript.d.ts (#9324)
Method getEffectiveAppenders() added
see https://sourceforge.net/projects/log4javascript/files/1.4.13/log4javascript-1.4.13.zip/download, file log4javascript_uncompressed.js, line 540
2016-05-15 02:37:38 +09:00
Marian Palkus acdc2d397c Add definitions for redux-mock-store (#9328)
* Add definitions for redux-mock-store.

* Fix definitions of redux-mock-store and updated tests.

* Remove trailing empty line.
2016-05-15 02:34:14 +09:00
Róbert Kiss a9b1e55740 Model.save method is more common if the type of value is any instead of string (#9314) 2016-05-15 02:33:58 +09:00
Simon de Lang c1101451fd Add definitions for escodegen (#9326) 2016-05-15 02:30:19 +09:00
Piotr Laszczkowski c4dab8a05b Update definitions for Handsontable - add hooks to options interface (#9325)
* Add type definitions for Handsontable

* Update definitions for Handsontable

* Add Hooks to Options interface
2016-05-15 02:29:27 +09:00
Jeroen 933f68a564 Adds extend to QUnit typings (#9322)
Note that the second parameter (mixin) of this method is documented on
the website as being of type string, but both the qunit source code and
examples on the same documentation page tell us it's actually of type
any.
2016-05-15 02:28:09 +09:00
Jason Killian 2c530936fe Add openOnFocus prop to typings (#9319)
See https://github.com/JedWatson/react-select#further-options for prop
details
2016-05-15 02:21:02 +09:00
Leo Liang 53ed90b6e7 result in Client.query() callback has the same type with result object in Query end event. (#9307) 2016-05-15 02:20:51 +09:00
Tom Wanzek adfe4a9c78 D3 enter (#9318)
* Added empty() and size() methods to interface Enter<Datum>. As per D3 API these methods are defined on the enter selection.

* Added test function testEnterSizeEmpty() for .enter().empty() and .enter.size() methods.
2016-05-15 02:19:29 +09:00
Eduardo bdce9fb560 Added definition for daterangepicker. (#9316)
* Added definition for daterangepicker.

* Rename daterangepicker-test.ts to daterangepicker-tests.ts
2016-05-15 02:13:11 +09:00
Pēteris Ņikiforovs ead4281ec8 Reflux (#9308)
* reflux: add ListenerMixin

* reflux: allow Reflux.createAction()

`options` argument is optional.

Readme says: "Create an action by calling Reflux.createAction with an optional options object."
2016-05-15 02:12:32 +09:00
John Gouigouix 5d6115f046 slick carousel 1.6.0 (#9311)
* Update with stream

* Update the slick carousel 1.6.0
2016-05-15 02:06:50 +09:00
Pēteris Ņikiforovs aa3428bea8 ssh2: some options were not optional in ConnectConfig (#9310) 2016-05-15 02:04:59 +09:00
Sam Saint-Pettersen e653cba45e Type definitions and tests for generic-functions (#9309)
* Create generic-functions.d.ts

* Create genetic-functions-tests.ts

* Update generic-functions.d.ts
2016-05-15 02:03:44 +09:00
Masahiro Wakame eeede9d1ad split node-v4 definitions (#9341) 2016-05-15 01:59:20 +09:00
game7 4f36f98aa3 underscore.string to include decapitalize function (#9302)
Update underscore.string.d.ts to include decapitalize function
2016-05-15 01:41:08 +09:00
Paul Brohman 70d5dcff6f Updating the IStateOptions.reload to allow string or IState (#9298)
`reload` allows for a string based state or a state object

```
reload (v0.2.5) - {boolean=false|string|object}, If true will force transition even if no state or params have changed. It will reload the resolves and views of the current state and parent states. If reload is a string (or state object), the state object is fetched (by name, or object reference); and \ the transition reloads the resolves and views for that matched state, and all its children states.
```
2016-05-15 01:29:31 +09:00
Tsvetomir Tsonev bdae66f35a Update Kendo UI TypeScript definitions (#9296)
* Update Kendo UI TypeScript definitions

* Fix scale type

* Add Grid footerAttributes
2016-05-15 01:18:29 +09:00
Felix ac927d3148 - derive TabProps from SharedEnhancedButtonProps (TabProps are passed… (#9218)
* - derive TabProps from SharedEnhancedButtonProps (TabProps are passed down to EnhancedButton inside)- Change signature of "onTouchTap" handler in TabProps to suit overridden "onTouchTap" in SharedEnhancedButtonProps

* - fixed TabProps onTouchTap signature, added disabled property
2016-05-15 01:18:15 +09:00
Federico Caselli b2286eb5f9 Added declaration of module 'mathjs' (#9294)
Mathjs can now be correctly used in nodejs, importing it in typescript with `import * as mathjs from 'mathjs';`
2016-05-15 01:17:57 +09:00
Alexandre Roba 25fe7e572e Feature/swagger express middleware (#9281)
* Added the definition for the swagger open api definition

* Added the documentation part that describe how to use the definition

* Added the comments

* Renamed the test files to follow naming convention

* Corrected the header to comply with the naming convention

* Merged all the files into a single file
2016-05-15 00:58:12 +09:00
Jeongho Nam d49da70120 STL-TypeScript v0.9.5-b (#9289)
* TypeScript-STL

TypeScript-STL v0.9.5
by Jeongho Nam

* TypeScript-STL v0.9.5

by Jeongho Nam

* STL-TypeScript v0.9.5-b

Try again
2016-05-15 00:55:34 +09:00
Rajab Shakirov 9ee4cbccdc update react-calendar-timeline.d.ts for ES6 module system support. (#9272)
* update react-calendar-timeline.d.ts
by issue: https://github.com/namespace-ee/react-calendar-timeline/issues/17#issuecomment-217128161

* update definitions for ES6 module system support.
2016-05-15 00:05:57 +09:00
Linda_pp 94e7e129ee New: Add type definitions for 'rc-tooltip' module (#9271) 2016-05-15 00:05:45 +09:00
Tom O'Neill 57fdaeeec3 Update NetworkInformation.d.ts (#9269) 2016-05-15 00:05:24 +09:00
Linda_pp fc810d7671 Add popper.d.ts (#9266)
https://github.com/FezVrasta/popper.js/
2016-05-15 00:03:34 +09:00
Nicolas Schmitt dfb808f777 update react-autosuggest (#9262)
* update react-autosuggest

* fixed InputProps.onChange & authors

* removed unnecessary interface
2016-05-14 23:28:41 +09:00
Brendon Colburn 1f8e49ff30 Add some properties to Restangularized Elements (#9240)
When an element is restangularized it often has one to many of the properties added in this proposed code change.  Leveraging the route, id, and reqParams gives greater functionality to restangularized objects in typescript projects.
2016-05-14 23:26:58 +09:00
Daniel Chao 1ec3d510e0 Add sqs-consumer typings (#9277)
* add sqs-consumer typings

* add explicit any

* use site url

* Rename sqs-consumer-test.ts to sqs-consumer-tests.ts
2016-05-12 14:49:18 +09:00
CodeAnimal 6191520997 Stripe node 4.6.0 - add subscription methods (#9303)
* Add stripe subscription methods

Add root subscription methods, in addition to subscription methods that
are defined on customer objects.

https://stripe.com/docs/api/node#subscriptions

* Bump version to stripe-node 4.6.0
2016-05-12 14:34:45 +09:00
CageFox dcafb59ee7 Update soap.d.ts (#8709)
* soap Server

* Fix definitions
2016-05-12 13:58:19 +09:00
Cristian Traistaru b0684b27a4 Update listCollections to use filter objects (#9283) 2016-05-12 13:57:21 +09:00
Daniel Chao 4efcbba3d4 Sqs producer (#9279)
* add sqs-producer typings

* use site url
2016-05-12 13:48:50 +09:00
didlich 00694cb526 update phonegap-nfc's enabled() signature (#9270)
* extend enabled() signature as documented

* update phonegap-nfc enabled() signature

* fix phonegap-nfc's property name
2016-05-12 13:39:27 +09:00
Evan Hahn 11283aeaab Add Evan Hahn to list of Helmet contributors (in source file) (#9273) 2016-05-12 13:38:42 +09:00
Doug Miller b94c65e3f7 Enzyme mount/unmount methods (#9207)
* Added unmount/mount methods

* Empty Commit for TravisCi
2016-05-12 13:04:31 +09: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