Commit Graph
57967 Commits
Author SHA1 Message Date
Madhukar Kedlaya edbb4de95d Creating a separate interface for IncomingMessageHeaders in node/index.d.ts (#17157)
* Creating a separate interface for IncomingMessageHeaders

This allows for IncomingMessage.headers types to be extensible per project. Suppose a node service expects a fixed set of headers of certain type (say string), that service can specify custom IncomingMessageHeaders with more concrete types defined.
For example

```
interface IncomingMessageHeaders {
    "host": string;
    "set-cookie": string[]
}
```

* Changing IncomingMessageHeaders defn

This definition adds undefined in addition to string and string[].
2017-06-16 10:21:58 -07:00
Nathan Shively-Sanders 1d4d00cfcf Fix incomplete merge 2017-06-16 10:19:12 -07:00
Andy 2a4ea59ddf es6-shim: Fix tests that fail due to callback covariance (#17247) 2017-06-16 10:19:02 -07:00
Nathan Shively-Sanders 376ffe71ba Merge branch 'master' into weak-type-errors-in-request 2017-06-16 10:18:00 -07:00
Nathan Shively-Sanders a8ead39f70 Fix weak type errors in request tests 2017-06-16 10:08:42 -07:00
Andy Hanson a3f2dc5786 More fixes 2017-06-16 09:11:29 -07:00
Andy Hanson 74c978a9a9 Replace Bluebird.Thenable with PromiseLike 2017-06-16 09:02:18 -07:00
Andy Hanson 4b2fabbdff Fix webgme 2017-06-16 09:02:18 -07:00
Andy Hanson c15e214e5a bluebird: Make Thenable an alias to the builtin PromiseLike. 2017-06-16 09:02:18 -07:00
Andy 04221e07e2 umzug: Fix test (#17250) 2017-06-16 09:02:01 -07:00
Andy aa3a920d34 kefir: Use never instead of void for Observable type arguments (#17248) 2017-06-16 08:45:54 -07:00
--global 79f4891748 fixing issues from CI build 2017-06-16 08:38:34 -07:00
Andy 6cfe2bc39c request-promise: Lint (#17249) 2017-06-16 08:37:10 -07:00
Mike Woudenberg 9e8013044e Adds proper typedefinitions for callbacks 2017-06-16 16:51:11 +02:00
--global 22e8163e07 updating to use let over var for the tests 2017-06-16 07:46:36 -07:00
Andy Hanson 284892954b core-js: Fix tests that fail due to callback covariance 2017-06-16 07:14:37 -07:00
Andy b9afd83a91 express-serve-static-core: Don't redeclare headers from http.IncomingMessage (#17229) 2017-06-16 07:11:36 -07:00
curtstate c4421a7543 adding tslint.json and forcing strictNullChecks 2017-06-16 07:11:12 -07:00
Rowell Heria f6939c7a01 Added version folder for flatpickr v2 2017-06-16 14:18:42 +01:00
John Reilly 9de566089a Merge pull request #17244 from leonard-thieu/jquery
[jquery] jqXHR.fail(failCallback) refers to wrong 'this'
2017-06-16 13:07:37 +01:00
afractal cf2f7df761 add type definitions for timespan 2017-06-16 13:46:59 +02:00
Leonard Thieu a8b1a242b5 [jquery] jqXHR.fail(failCallback) refers to wrong 'this'. 2017-06-16 07:25:27 -04:00
Christopher Cortes b9bdcb0fd8 [nouislider]: fix TSC error: "global module exports may only appear a… 2017-06-16 13:09:26 +02:00
shinhwagk 3aabbf999d [kafka-node] modify property Client.clientId to Client.clientId?
Client clientId have default value 'kafka-node-client'.
2017-06-16 17:53:57 +08:00
Sebastien PUECH 05ce66f5df Created a typings for the collections.js library. Only the SortedSet is made. 2017-06-16 11:03:35 +02:00
slavasitnikov 6d1aa9f59f Merge branch 'master' into jest-toBeNaN 2017-06-16 11:59:18 +03:00
Alejandro Haro 33d52686cc jslint compliance 2017-06-16 09:46:49 +01:00
Alejandro Haro 5425a3443d Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2017-06-16 09:43:55 +01:00
Alejandro Haro 6874128836 ramda: Code review feedback 2017-06-16 09:23:26 +01:00
Huruikagi 104a9679e1 Merge remote-tracking branch 'upstream/master' into update_multer_filefilter
# Conflicts:
#	types/multer/index.d.ts
#	types/multer/multer-tests.ts
2017-06-16 15:00:31 +09:00
Tobias Bales 74b5c85d67 Remove node dependencies for pouchdb-core
by inlining EventEmitter and Buffer

    Since pouchdb does not require nodejs to be present and the node definitions
    conflict with e.g. react-native
2017-06-16 07:28:29 +02:00
Paul Shannon 485696c0db making requested changes 2017-06-15 21:13:34 -07:00
Ben Davies 40d73b536f [sockjs] Delete sockjs, rename sockjs-node to sockjs, add tslint.json
@types/sockjs-node was impossible to use since the actual name of the
package it's meant for on npm is sockjs, not sockjs-node. @types/sockjs
already existed, however it was the type declaration file for an old
version of sockjs-client, which already has its own up-to-date type
declaration file under @types/sockjs-client.

Fixes #17112
2017-06-16 00:52:15 -03:00
lei xia cbfea0bd11 update user info 2017-06-16 09:39:19 +08:00
Saravana Bhavan J d8642a0f70 Add indexer to for custom rules 2017-06-16 07:07:24 +05:30
Mine Starks 7c9006cd25 Merge pull request #16981 from bradleyayers/prosemirror-0.21
Update prosemirror-* to 0.21
2017-06-15 18:32:08 -07:00
Andrew Linfoot 2d9acea80a Allow null values to be passed to navigation.goBack() 2017-06-15 18:30:20 -07:00
Mine Starks 3032f7725e Merge pull request #17230 from nexus-uw/patch-1
removed nexus-uw from authors
2017-06-15 18:29:30 -07:00
Mine Starks af934c1328 Merge pull request #17223 from adrianchia/auth0-js-patch1
Auth0-js: add usePostMessage to RenewAuthOptions, update test case
2017-06-15 18:26:59 -07:00
Mine Starks 2a2f68d62a Merge pull request #17218 from LucianBuzzo/xterm-updates
Add some missing values to xterm types
2017-06-15 18:16:21 -07:00
Mine Starks da1c33c54d Merge pull request #17217 from seanbright/sip.js
sip.js: Add/update method signatures and config parameters
2017-06-15 18:16:02 -07:00
Mine Starks 561a2b3fbf Merge pull request #17216 from iwllyu/highland/organize-functions
[highland] organize functions and add some definitions
2017-06-15 18:15:37 -07:00
Mine Starks 5e82017cf5 Merge pull request #17214 from James-Frowen/master
adding new word-to-numbers types
2017-06-15 18:14:17 -07:00
Mine Starks 4ef0b8ebc4 Merge pull request #17212 from twail-net/fix-dirty
Fixed signature of Parse.Object#dirty
2017-06-15 18:11:17 -07:00
Kevin Lowe 1e6172179e Add module declaration for pdfjs-dist library 2017-06-15 18:06:38 -07:00
Mine Starks e3da5225fc Merge pull request #17209 from twoeo/patch-1
@types/mongodb: change Default to any
2017-06-15 18:00:04 -07:00
Mine Starks f219205c03 Merge pull request #17208 from ssddi456/yog2-defininations
add yog2-kernel yog-log yog-bigpipe node-ral
2017-06-15 17:55:10 -07:00
Bradley Ayers 86cae1148f Update prosemirror-collab prosemirror-commands prosemirror-history prosemirror-inputrules prosemirror-keymap prosemirror-markdown prosemirror-model prosemirror-state prosemirror-transform prosemirror-view to 0.21 2017-06-16 10:52:58 +10:00
Mine Starks e139ed8bba Merge pull request #17206 from danielpetroianu/patch-1
All Parse.Cloud save/delete hooks have the `object` property
2017-06-15 17:51:29 -07:00
Mine Starks 2b20cb1e14 Merge pull request #17193 from leonard-thieu/gulp
[gulp] Re-add type definitions
2017-06-15 17:44:56 -07:00