Commit Graph
57967 Commits
Author SHA1 Message Date
Zhengbo Li 603545ca20 Merge pull request #10038 from prashaantt/patch-3
Fix `request.raw.req` type
2016-07-11 00:10:38 -07:00
Tony Compton a69c28bb2d Added the listen function.
Added the listen function to Store interface so that people can use
Reflux the non-mixin way.
2016-07-10 19:21:12 -04:00
Cao Jiannan 203818d338 remove unnecessary user property of request
leave space to user defined user type
2016-07-10 23:16:00 +08:00
lucap86 0d185df10f refs #9944 2016-07-10 17:09:41 +02:00
Ivo Stratev 77b1b17093 Improvement to node type definition (#10037)
case 2. Improvement to existing type definition.

From Node.js API Reference (https://nodejs.org/dist/latest-v6.x/docs/api/fs.html#fs_fs_open_path_flags_mode_callback):

fs.open(path, flags[, mode], callback)#
Added in: v0.0.2
path <String> | <Buffer>
flags <String> | <Number>
mode <Integer>
callback <Function>

Only mode is optional in open. Also instead of pure function overloads definitions can be re-written using union type annotaion for open and openSync.
2016-07-09 20:40:37 +09:00
Prashant Tiwari 36ce4b68fa Fix request.raw.req type
Per the hapi [code](https://github.com/hapijs/hapi/blob/master/lib/request.js) and [documentation](http://hapijs.com/api#request-object) the correct type for the raw http request object `request.raw.req` is actually `http.IncomingMessage` and not `http.ClientRequest`.
2016-07-09 14:51:05 +05:30
Dan Marshall 7234823908 reduce() returns Bezier[] (#10036) 2016-07-09 16:28:42 +09:00
Dan Marshall 3af3aec1c2 reduce() returns Bezier[] 2016-07-08 23:57:09 -07:00
Wang Guan 7f5ba75603 add definition for Navigator in react-native 0.29 (#10035) 2016-07-09 15:35:08 +09:00
Ivo Stratev 674f651fcb Adding missing constants from module 'constants' (#10034)
Adding missing File System constants from module 'constants'.
2016-07-09 15:34:57 +09:00
Ivo Stratev 7a6da49f3a Now it matches Node.js fs::open* definition (#10032)
From Node.js API Reference (https://nodejs.org/dist/latest-v6.x/docs/api/fs.html#fs_fs_open_path_flags_mode_callback):

fs.open(path, flags[, mode], callback)#
Added in: v0.0.2
path <String> | <Buffer>
flags <String> | <Number>
mode <Integer>
callback <Function>

fs.openSync(path, flags[, mode])#
Added in: v0.1.21
path <String> | <Buffer>
flags <String> | <Number>
mode <Integer>
2016-07-09 15:33:42 +09:00
Jeremy 22bc90a0b2 Corrects readSync by making position argument optional. (#10029) 2016-07-09 15:30:47 +09:00
Mihailescu Marian Valentin 90dc1f65a2 fix: The append function accepts ReadStreams, Buffers and strings (#10021)
* fix: The append function accepts ReadStreams, Buffers and strings

* chore: Space before and after |
2016-07-09 15:29:18 +09:00
Ryan Casperson ead4d214f7 lodash: Add flattenDepth() for LoDashStatic (#10013)
* lodash: Add flattenDepth() for LoDashStatic

* lodash(flattenDepth): Add optional tag to depth & declare module
2016-07-09 15:28:53 +09: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
Andrew Mayorov d9e7db3b10 $animate.enabled() is also callable w/o params (#9961)
* $animate.enabled() is also callable w/o params

* Removed one overload in favour for optional parameter.
2016-07-09 15:15:15 +09:00
Nick 3d8bb21c9e Added/Updated paramater objects for S3. Also added existing S3 methods (#9886)
* Updated/Added S3 object requests and Added S3 methods

Updated and Added S3 object requests and also added a few new methods
that are available on the S3 object.

* updated callback to be optional for upload function

updated callback to be optional for upload function

* Updated as per comments

Condensed upload() down to one signature. Made params optional as they
default to an empty object according to the AWS-SDK docs.

fixed getSignedUrl signatures.
fixed spacing in S3 interfaces

* updated to be fixed with spaces instead of tabs

updated to be fixed with spaces instead of tabs

* removed unused signatures

Removed the two un-used out of date signatures in favor of the new ones.
2016-07-09 15:11:01 +09:00
Martin D 1b564b362d Update plotly.js.d.ts (#10004)
* Update plotly.js.d.ts

Improved typings

* Update plotly.js-tests.ts
2016-07-09 15:08:57 +09:00
tyfkda 86ce9329bf Update JSZip definitions for version 3 (#9822)
JSZip has changed its APIs asynchronously in version 3.0:

http://stuk.github.io/jszip/documentation/upgrade_guide.html

Replace to async method definitions:

  * `load` => `loadAsync`
  * `generate` => `generateAsync`
  * `asXXXX` => `async('XXXX')`

> JSZip.compressions has been removed.

So related tests are removed.
2016-07-09 14:59:33 +09:00
Bjørn 5f91dac715 Update IAngularBootstrapConfig in angularjs (#9935) 2016-07-09 14:51:39 +09:00
Luis Roberto Perez Rios 725c61ebdb Added new methods and properties for Reveal 3.3.0 (#9919)
* Added new both methods and properties for Reveal 3.3.0

* Updated header based on Contributors Guides

* Fixed error in type return for setState
2016-07-09 14:47:42 +09:00
James O'Cull 622c2ea735 Restify route fixes (reopen #7694) (#9918)
* Add router /routes support to Restify

* Added Restify Router render function

* Proper returns on server use/route

* Restify returns strings, not routes
2016-07-09 14:47:12 +09:00
Mohamed Hegazy 00a6eb8a6f Merge branch 'types-2.0' of https://github.com/DefinitelyTyped/DefinitelyTyped into types-2.0 2016-07-08 22:08:12 -07:00
Mohamed Hegazy 8157a61ff6 Use react as a module 2016-07-08 22:07:43 -07:00
Mohamed Hegazy fb4c1d5c69 Use Q as a module 2016-07-08 22:07:30 -07:00
Mohamed Hegazy d096530e29 Add missing dependencies 2016-07-08 22:07:13 -07:00
Mohamed Hegazy 6885824910 Proper use of angular module 2016-07-08 22:06:42 -07:00
Alexey Svetliakov 6a36f6d5b6 Allow es6 import for addons-create-fragment/addons-shallow-compare 2016-07-09 06:46:14 +02:00
Alexey Svetliakov a8d8d16674 wrong param in shallow() test 2016-07-09 06:15:40 +02:00
Alexey Svetliakov f77d4a03c4 Updated enzyme to 2.4.1 2016-07-09 06:11:53 +02:00
Mohamed Hegazy ed7da457fe Use correct namespace 2016-07-08 20:48:05 -07:00
Mohamed Hegazy e91ef26e79 use correct namespace for angular 2016-07-08 20:47:54 -07:00
Mohamed Hegazy 2e97e04bc9 Fix strictNullChecks with webpack 2016-07-08 20:47:29 -07:00
Mohamed Hegazy 16a182de32 Fix strictNullChecks issues with xrm 2016-07-08 20:47:13 -07:00
Mohamed Hegazy a4c5e22c2c Use consitent casing for Q 2016-07-08 20:46:55 -07:00
Mohamed Hegazy 1d664b3b9c Use Q as a module 2016-07-08 20:46:34 -07:00
Cao Jiannan ccfd178bb4 Update param declare 2016-07-09 10:20:53 +08:00
Cao Jiannan e53106d303 update param, add ; 2016-07-09 10:01:54 +08:00
Zhengbo Li ea054545ee Merge pull request #10009 from pushplay/master
Added type definition for react-flexr
2016-07-08 15:39:17 -07:00
Andy a8289133fa Merge pull request #10028 from DefinitelyTyped/express_serve_static_core_name
Provide more descriptive name for express-serve-static-core
2016-07-08 14:35:54 -07:00
Mohamed Hegazy b8df628bfa Merge pull request #10027 from yeiniel/master
Added missing preflightContinue option to cors type definition.
2016-07-08 14:25:46 -07:00
Andy Hanson 6687cb4959 Provide more descriptive name for express-serve-static-core 2016-07-08 14:24:37 -07:00
Yeiniel Suarez Sosa e05967d76b Added missing preflightContinue option to cors type definition. 2016-07-08 15:27:09 -05:00
jeff 47d7f3778b Fixed inconsistent quote usage. 2016-07-08 12:36:43 -07:00
jeff 12b3f8021d Merge remote-tracking branch 'upstream/master' 2016-07-08 12:30:57 -07:00
Mohamed Hegazy 13624e7202 Add node dependency 2016-07-08 12:06:19 -07:00
Mohamed Hegazy c8379dd3b2 Fix noImplicitAny warnings for rethinkdb 2016-07-08 11:59:44 -07:00
Mohamed Hegazy 7fad9e1e4e Import redux as a module 2016-07-08 11:57:23 -07:00
Mohamed Hegazy 5b2f3e7c26 Use react consistentlly as a module 2016-07-08 11:53:25 -07:00
Cao Jiannan 5fd6d6b4ea expose IRouterHandler 2016-07-09 02:52:18 +08:00