Commit Graph
22194 Commits
Author SHA1 Message Date
Artur Eshenbrener 82e9f897d6 Add type constraint 2016-10-07 14:41:52 +03:00
Artur Eshenbrener d1d801b96e Improve catch with constructor filter.
Add arguments to constructor's `new()` signature + tests
2016-10-07 11:24:56 +03:00
Artur Eshenbrener 5724f1fe4d bluebird: more strict .catch definitions 2016-10-05 12:58:41 +03:00
Christopher Cortes b26b960488 Add missing Valdr typings for validation results and constraints (#11636)
* Add missing Valdr types

Add ValdrValidationConstraints and ValdrValidationResult typings

* Refine Valdr-message typings

Set a more refined type to messages instead of any

* Expand Valdr typings tests

Expand tests to include added typings for ValdrValidationResult and ValdrConstraints

* Fix spacing

Replace tabs by spaces

* Rename vars in test

Rename vars to make test clearer

* Fix TS issues

Added missing types

* Remove undefined

In TS by default null and undefined are subtypes of all other types

* Fix wrong type

Add missing namespace

* Fix wrong version number

Set version to only numbers

* Fix wrong version number

Keep version to only numbers
2016-10-04 13:58:12 -07:00
Sander Koenders 13308a020d Added missing move function (#11563)
* Added missing move function

Added missing move function in typings so that the move function is recognised by the IDE and the compiler.

* Minor derp here
2016-10-04 12:04:49 -07:00
WilliamPeralta beff62f66f scheduler options (#11543) 2016-10-04 12:04:19 -07:00
Eric Wieser 667d77f21c Improve support for arrays of promises (#11685)
* Alias IWhenable<T> = IPromise<T> | T

* Allow all Q functions to work with either promises or raw values

* Allow functions expecting arrays to take promises for arrays

Q.race is deliberately excluded, as this does not support this type of argument.
2016-10-04 11:56:34 -07:00
Francis Béliveau debb3797cd Change ChartAxisXOptions (#11449)
Change the type for minimum and maximum options in ChartAxisXOptions to
support both number and Date.
2016-10-04 11:39:59 -07:00
Frank van den Berg 7f2cfbd0ff Update material-ui.d.ts (#11353)
Expose ThemePalette interface.
2016-10-04 11:34:28 -07:00
Kagami Sascha Rosylight dcb46429c8 apply declaration merging (#10900) 2016-10-04 11:27:50 -07:00
felipedgarcia f1595fd8b8 Added jquery.flagstrap.js definition suport (#11710) 2016-10-04 10:55:19 -07:00
Artur Eshenbrener 8922f46b5a [lodash]: memoize.Cache expects construcor (#11707)
https://lodash.com/docs/4.15.0#memoize
2016-10-04 10:44:55 -07:00
stonio dd95604a2f Replace number[] by [number, number] (#11704) 2016-10-04 10:15:21 -07:00
stonio c55d26d179 Override ol.layer.Vector#getSource() (#11703)
Reference: http://openlayers.org/en/latest/apidoc/ol.layer.Vector.html
2016-10-04 10:15:00 -07:00
Sean Dawson 18faea3515 Update Google Maps API type definition to 3.25 (#11626)
* Update Google Maps Places Library definition

- According to the Places Library documentation (https://goo.gl/EJFiuQ), certain fields are being removed
- I have aligned the Places Library definitions with the API reference (https://goo.gl/kYoi9V) and added deprecation comments for the old properties as they are still accepted until February
- I could not find an official deprecation attribute or similar for Typescript definitions so I just left a comment

* Update the API version in the header

* Apply API changes between version 3.20 and 3.25

- Used the Google Maps API release notes (https://goo.gl/nRUZGJ) as a reference

* Fix inconsistant type definition
2016-10-04 10:14:13 -07:00
RecuencoJones 2a5f017607 UPDATE localForage type definitions (#11702) 2016-10-04 10:11:23 -07:00
valorcurse e77a0d93ef Update THREE.js definitions to r81 (#11679)
* Update THREE.js definitions to r81

* Update test_unit_maths.ts to r81

* Update version in header to r81
2016-10-04 10:09:59 -07:00
Arun Aravind 1cc8629b01 Added type definitions for terminal-menu (#11697) 2016-10-04 09:50:05 -07:00
Nikias Kalpaxis fe6b43c5bd add missing isEmpty function (#11698) 2016-10-04 09:48:57 -07:00
webbiesdk a2c0d1ebc6 Updating jasmine to version 2.5 (#11688)
* Updating jasmine to version 2.5

* Fixing 2 small errors in the update of jasmine

* withMock now takes a  "() => void"

* fixed the withMock syntax error

* number added as type to seed function
2016-10-03 13:18:00 -07:00
Endel Dreyer 3ced2ed66c add type definitions for msgpack-lite package. (#11690) 2016-10-03 12:48:26 -07:00
Tyler e581a26a5f Adding union type for offset (#11689) 2016-10-03 12:46:59 -07:00
Andrei Markeev d88cfbff9d added definitions for SharePoint file Search.ClientControls.js (#11652)
* added definitions for SharePoint file Search.ClientControls.js (Srch namespace, heavily used in Search Display Templates)

* --noImplicitAny compatibility fixes
also small improvements

* more fixes for --noImplicitAny
2016-10-03 12:04:38 -07:00
Andre Eckardt 42f7b186e1 adds system faker methods (#11432) 2016-10-03 11:42:39 -07:00
Dawid Ryłko 32cf713f63 Add missing class AgendaView (#11371)
* Add missing class AgendaView

* Move class to kendo.ui namespace

* Change path to interface

* Add static fn

* Add static extend

* Add static extend

* Resolve conflicts
2016-10-03 11:41:54 -07:00
Radosław Eichler dbc144352d Add missing perMessageDeflate server option (#11380) 2016-10-03 11:41:06 -07:00
MichaelHilus 4a4d4e31e2 Added missing className property to CardProps (#10823)
The className property for CardPros is missing, so using it like
<Card className={this.myClass}>...</Card>
is not possible.
2016-10-03 11:37:14 -07:00
Ibtihel CHNAB 7200df0663 Added definition file for Defaults Js Library (#11451) 2016-10-03 11:36:01 -07:00
Akinzekeel 7f129d9a51 Updated the RowMethods interface (#11665)
* Updated the RowMethods interface

This Interface was missing the Definition of the id() method.

Link to official documentation: https://datatables.net/reference/api/row().id()

* Changed indentation from tabs to spaces
2016-10-03 11:35:33 -07:00
Antoine LUCAS ea667e0fcb Added the definition for the npm package simple-url-cache (#11296)
* Added the definition for the npm package simple-url-cache

https://www.npmjs.com/package/simple-url-cache

* - Some problems with shells.js missing the touch fucntion deifnition

* More details on the touch parameters - nice screenshot btw
2016-10-03 11:34:10 -07:00
Simon Douglas 011a039389 Update headroom.d.ts (#11313)
notBottom  missing from definition
2016-10-03 11:31:26 -07:00
Ashok Vishwakarma 1777b9ff31 Added cash-js.d.ts File (#10765)
* Added cash-js.d.ts File

* Fixed Link break issue

* Renamed from cash-js to cash

* Fixed the module name as suggested
2016-10-03 11:30:47 -07:00
DanielM 2deba0b4ce Add support for Highcharts modules: offline exporting and boost (#11030)
* Create highcharts-modules-offline-exporting

* Rename highcharts-modules-offline-exporting to highcharts-modules-offline-exporting.d.ts

* Create highcharts-modules-boost.d.ts
2016-10-03 11:28:44 -07:00
Goldensky321 74fc95e82b Update d.ts file for Dialog API updates (#11526) 2016-10-03 10:51:49 -07:00
SwintDC 470539a07f ADD: definition file for the moment-duration-format library (#11557) 2016-10-03 10:49:30 -07:00
Steven Robertson f044ddb2c3 Create typings for jquery-alertable (#11642) 2016-10-03 10:20:58 -07:00
Cameron Little 00ef236db1 Updated fbsdk definitions for authentication responses and api calls. (#11686)
Fixes #11327
May help with #11007
2016-10-03 09:46:19 -07:00
peterpeterparker dbe6a6f233 Fix instance of cropperjs for library version > 0.8 (#11490) 2016-10-03 22:43:58 +09:00
Micha Reiser 50e013312b Add toJSON method to signature (#11682) 2016-10-03 22:43:42 +09:00
Subhash Sharma 2a447aaeb0 added seed, randomTests and randomizeTests property (#11678) 2016-10-03 22:39:49 +09:00
Denis 3a49556c30 Fix redeclare block-scoped Base64 (#11677)
Issue found by https://github.com/dankogai/js-base64/issues/38#issuecomment-250999729
2016-10-03 22:38:56 +09:00
Colin Kahn 68351be490 add transducers-js types w/ tests (#11676) 2016-10-03 22:38:33 +09:00
Sean Kelley f54f4edaea Add array methods to LoDashExplicitArrayWrapper to match LoDashImplicitArrayWrapper. (#11518) 2016-10-03 22:34:08 +09:00
Remo H. Jansen 32dbb649db Allow interface to be named (#11673)
> error TS4023: Exported variable 'DevTools' has or is using name 'IDevTools' from external module "/Users/remojansen/CODE/forks/redux-bootstrap/node_modules/@types/redux-devtools/index" but cannot be named.
2016-10-03 22:31:20 +09:00
Tony Trinh 16828379f8 Add definitions for spdy (#11672)
https://github.com/indutny/node-spdy
2016-10-03 22:30:37 +09:00
Eric Wieser 1965fee8a7 Add missing each, and correct type of Date.now() (#11670) 2016-10-03 22:27:29 +09:00
Ken Howard 56946455a5 Added hapi-decorators.d.ts (#11668) 2016-10-03 22:18:44 +09:00
Tony Trinh f6ec36ad2b Add definitions for pem (#11666)
https://github.com/andris9/pem
2016-10-03 22:16:30 +09:00
Boriss Nazarovs 261a54b353 Added type definition for riot library (#11664)
* Added type definition for riot

* Added type information for compile function, version, settings and template error handler

* Updated namespace name Riot -> riot

* Renamed riot-test.ts -> riot-tests.ts
2016-10-03 22:15:29 +09:00
Micha Reiser e41b464073 Fix babel-traverse buildCodeFrameError signature (#11654)
The Error argument is not an error instance, instead it is a constructor function that returns an error instance. 
Additionally, the constructor function is optional, by default SyntaxError is used
2016-10-03 22:14:07 +09:00