Commit Graph

36205 Commits

Author SHA1 Message Date
kazuyamamoto
ea8b7af8c6 [node] Add tls.getCiphers() and tls.DEFAULT_ECDH_CURVE (#20482)
https://nodejs.org/api/tls.html#tls_tls_getciphers
https://nodejs.org/api/tls.html#tls_tls_default_ecdh_curve
2017-10-16 13:16:08 -07:00
Robert K. Bell
547c7fd610 [types/node] Add final option to Stream WritableOptions (#20477)
* fix: add `final` option for WritableStreams

* fix: use more accurate type for `final()`

* typo: whitespace

* test: add `final` option

as documented here:
https://nodejs.org/docs/latest/api/stream.html#stream_constructor_new_stream_writable_options

* fix: cb is mandatory, error is optional
2017-10-16 13:15:22 -07:00
Harry
32f35a9cc1 Allow "Element" type for masonry element selector (#20473) 2017-10-16 13:15:03 -07:00
Max Battcher
58ad2772c3 Turf hosts own type definitions (#20334) 2017-10-16 13:04:19 -07:00
Alexandre
a7a71f2be3 Fix some mapbox-gl mismatching typings (#20472)
* Fix some mapbox-gl mismatching typings

* Increase version and fix ts options

* Remove flag

* Add back strictFunctionTypes: true flag

* More types fix

* Make fill-outline-color optional
2017-10-16 11:57:48 -07:00
Evan Madow
38bd4efd5d Exporting nightwatch interfaces (#20465)
* Exporting nightwatch interfaces

* Update nightwatch-tests.ts

* fixes
2017-10-16 11:56:13 -07:00
Joshua Netterfield
5f3cbdcfb3 Update react-monaco-editor types to track 0.10 (#20464) 2017-10-16 11:52:55 -07:00
David Khourshid
f530bf01f5 Puppeteer: fixing .cookies() method type and other cleanup (#20160)
* Fixing .cookies() method type and other cleanup

* Reversing automatic formatting

* Cookie[] -> Array<Cookie>

* Undoing unnecessary single quoting and fixing lint errors
2017-10-16 11:47:33 -07:00
Diogo Franco
7d955710bb [history] Mark Location's key as optional (#20447)
While the `key` will always be a string value after updating history, it will not be present when the `history` object is first created, at least until the first push/replace state happens.
2017-10-16 11:43:18 -07:00
Christopher Deutsch
9c1dc77ef4 Updated react-autosuggest for version 9.3.X (#20442)
`react-autosuggest` had some breaking changes.

Previously Autosuggest was defined with `any` props which meant no type checking was happening.

New definition enables type checking when using `Autosuggest` component.
```
declare class Autosuggest extends React.Component<Autosuggest.AutosuggestProps> {}
```
2017-10-16 11:36:31 -07:00
Jean-Baptiste Gomond
7a99e7c48a Corrected type of parameter "stream" in interface Options of @types/simple-peer (#20435) 2017-10-16 11:34:19 -07:00
Leonard Thieu
42cf3abe63 [jquery] Add ajaxSettings property. (#20433) 2017-10-16 11:32:07 -07:00
Aurélien
112130d22b fix(algoliasearch): generateSecuredApiKey returns a string (not void) (#20423)
* fix(algoliasearch): generateSecuredApiKey returns a string (not void)

* fix(algoliasearch): use object[] instead of [{}] in saveObjects method inputs
2017-10-16 11:19:24 -07:00
Flarna
2466ddbcff [node] Add Buffer.poolSize() and correct Buffer.byteLength() (#20419)
* [node] Add Buffer.poolSize

* [node] Allow more types for Buffer.byteLength()

* fix lint issue
2017-10-16 11:18:42 -07:00
Demiurga
55b81a75c5 Fix callback and Promise resolve type (#20404)
* Fix callback and Promise resolve

Promise and callback should resolve Core.Document<Model>, not just Core.Response

* Update pouchdb-upsert-tests.ts

* fix version format

* Down the version to 2.4
2017-10-16 11:13:13 -07:00
Aaron Beall
57804c9a7d Changed title/label props on components to ReactNode instead HTML props string, per docs (#20379)
* Changed TabProps.title to ReactNode not string, per docs

* Fixed declaration of title/label as ReactNode for components, per docs
2017-10-16 11:07:12 -07:00
María Mercedes Retolaza Reyna
95bac4fd31 add missed prop in modal header (#20358)
* add missed prop in modal header

* Fix CI failures

* Add comma to definition authors at react-bootstrap
2017-10-16 11:04:07 -07:00
Andy Hanson
e9a4127918 Merge branch 'Akim95-remove-realm' 2017-10-16 11:03:11 -07:00
Andy Hanson
1ecd5b8fa6 Merge branch 'remove-realm' of https://github.com/Akim95/DefinitelyTyped into Akim95-remove-realm 2017-10-16 11:02:59 -07:00
Clément P
6366b6c58a Update DefinitelyTyped (#20318)
* Update index.d.ts

add proxyOption.proxyReq

* Update index.d.ts

proxyRes and proxyReq can be Function or Function[]

* Update index.d.ts

* Update browser-sync-tests.ts

add test for proxyRes & proxyReq

* Update browser-sync-tests.ts
2017-10-16 10:54:30 -07:00
Max Battcher
faca90d1d8 Popper.js typings not needed (#20258)
* Popper.js typings not needed

Popper.js now bundles its own typings.

Resolves #18442

* Fix popper semver in notNeededPackages.json
2017-10-16 10:42:07 -07:00
Alessandro Vergani
0e7cad3271 Add setMulticastInterface to node dgram (#20186) 2017-10-16 10:39:48 -07:00
Andy Hanson
d5b87c0ae7 Merge branch 'nrlquaker-add-blob-to-buffer' 2017-10-16 10:24:05 -07:00
Andy Hanson
6c91d49f9f Fix import style and add strictFunctionTypes 2017-10-16 10:23:51 -07:00
Andy Hanson
ea4b599d93 Merge branch 'add-blob-to-buffer' of https://github.com/nrlquaker/DefinitelyTyped into nrlquaker-add-blob-to-buffer 2017-10-16 10:23:14 -07:00
Andy Hanson
880a03867d Merge branch 'npenin-master' 2017-10-16 10:20:15 -07:00
Andy Hanson
989ce9832c Add strictFunctionTypes 2017-10-16 10:20:04 -07:00
Andy Hanson
8a1000e1d8 Merge branch 'master' of https://github.com/npenin/DefinitelyTyped into npenin-master 2017-10-16 10:19:35 -07:00
Andy Hanson
974c11449b Merge branch 'fjmorel-master' 2017-10-16 10:17:50 -07:00
Andy Hanson
8fb6da1ff4 Remove type String 2017-10-16 10:17:36 -07:00
Andy Hanson
09ba00bbbb Merge branch 'master' of https://github.com/fjmorel/DefinitelyTyped into fjmorel-master 2017-10-16 10:16:57 -07:00
Daniel Imms
f5dc2b6e33 Remove self from maintainers (#20126) 2017-10-16 10:15:45 -07:00
Sami Kukkonen
b0447ecb51 Add _destroy to for node Readable stream (#20068)
From the docs:
https://nodejs.org/api/stream.html#stream_readable_destroy_err_callback

As specified in
https://nodejs.org/api/stream.html#stream_readable_destroy_error
implementors are recommended to implement this method instead of
`destroy()` and the original method should be available for calling via
`super`.

This change matches the signatures of other Stream subclasses by
annotating `callback` as `Function` instead of `(err: Error) => void`.
2017-10-16 10:13:28 -07:00
Andy Hanson
7f5638cf95 Merge branch 'degroote22-patch-1' 2017-10-16 10:11:03 -07:00
Andy Hanson
3e28d5d77d Fix test 2017-10-16 10:10:25 -07:00
Andy Hanson
7c61fa8ab1 Merge branch 'patch-1' of https://github.com/degroote22/DefinitelyTyped into degroote22-patch-1 2017-10-16 10:09:43 -07:00
Witchu Promjunyakul
dc7fba2b21 fix TCursor.shape (#19984)
add blessed.log()
2017-10-16 09:17:43 -07:00
Tim Kye
68fcd921ba Yeoman-generator: add error function to base type (#19887)
* add error function to base type

this function is the recommended method for raising errors.
http://yeoman.io/environment/Environment.html#error
https://stackoverflow.com/questions/27616689/how-to-gracefully-abort-yeoman-generator-on-error

* fix travis lint error

* lint fix 2
2017-10-16 09:07:47 -07:00
aidandownes
0b0c6b20b0 Update type definition for $injector.invoke to be consistent with angular documentation/code. (#19886)
- $inject.invoke also accepts optional context and locals agruments when function is an array annotation format.
- Also added tests.
2017-10-16 09:06:56 -07:00
Elijah Schow
ec2c36e82b Add `$overrideModelOptions' to 'INgModelController' (closes #19136) (#19880)
AngularJS Issue:
https://github.com/angular/angular.js/issues/12884

AngularJS Documentation:
https://docs.angularjs.org/api/ng/type/ngModel.NgModelController#$overrideModelOptions

AngularJS Source:
https://github.com/angular/angular.js/blob/master/src/ng/directive/ngModel.js#L863
2017-10-16 09:04:19 -07:00
Nicu Micleușanu
3d41a7ce59 react: Add support for more SVG elements (#19871) 2017-10-16 09:03:27 -07:00
Andy Hanson
1e7f8f94c7 Merge branch 'davidmpaz-master' 2017-10-16 08:50:38 -07:00
Andy Hanson
b5ae36a6f7 Fix lint 2017-10-16 08:50:21 -07:00
Andy Hanson
41a50c9c48 Merge branch 'master' of https://github.com/davidmpaz/DefinitelyTyped into davidmpaz-master 2017-10-16 08:49:52 -07:00
Martijn Schrage
55a284355b Add missing method readline.emitKeypressEvents to package node (#19733) 2017-10-16 08:47:24 -07:00
Andy Hanson
09b946d1cd Merge branch 'jnordberg-patch-4' 2017-10-16 08:28:30 -07:00
Andy Hanson
75bd2c4718 Unify signatures 2017-10-16 08:28:20 -07:00
Andy Hanson
1353046ad3 Merge branch 'patch-4' of https://github.com/jnordberg/DefinitelyTyped into jnordberg-patch-4 2017-10-16 08:27:28 -07:00
Rogier Schouten
ca3ec2cfe8 fix Node net.createConnection() and Socket#connect() signatures. (#19456)
* fix net.createConnection() and Socket#connect() signatures.

* fix lint errors.

* Fix review comments.
2017-10-16 08:26:29 -07:00
Andy Hanson
424349146a Merge branch 'prannayb-patch-1' 2017-10-16 08:21:03 -07:00