Commit Graph

35978 Commits

Author SHA1 Message Date
Eloy Durán
e434515761 Merge pull request #20236 from simontreny/master
[react-native] Add NativeScrollEvent.velocity
2017-10-09 12:47:03 +02:00
John Gozde
c0ca3289cb react-test-renderer: update to v16 API (#20396)
* react-test-renderer: copy existing to v15

* react-test-renderer: update to v16 API

* react-test-renderer/shallow: update to v16 API

* react-test-renderer: fix lint, path mappings
2017-10-08 07:11:28 +01:00
shralpmeister
161f894269 Adds rawTxtRecord and txtRecord fields to mdns/Service. (#20360) 2017-10-06 16:13:47 -07:00
Anthony Nichols
4fd34d1f9b nedb: add timestampData to DataStoreOptions (#20259) 2017-10-06 16:13:29 -07:00
Andy
14df840b7d Fixup strictFunctionTypes settings (#20374) 2017-10-06 14:21:13 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
6e1ad980e8 mithril: Fix no-self-import lint failures (#20366) 2017-10-06 13:59:04 -07:00
Andy
ab22ef85ba sharepoint: Fix lint (#20369) 2017-10-06 13:47:00 -07:00
Andy
08d7a2e170 spdy: Write as external module (#20370) 2017-10-06 13:46:13 -07:00
Alexandre
430e451626 Improve supercluster types (#20348)
* Improve supercluster types

* Remove remaining declare
2017-10-06 13:44:28 -07:00
Vladimir
7c80443b31 react-modal: Remove default export (#20165)
* Remove default export

Typescript not working with synthetic default import: https://github.com/reactjs/react-modal/issues/497

* Fix missing semicolon

* Replace synthetic default import by *

* Edit import statement
2017-10-06 13:41:24 -07:00
Andy
2ce173a725 lodash: Fix lint failure (#20365) 2017-10-06 12:51:56 -07:00
Andy
e130901727 execa: Remove unused type parameters (#20364) 2017-10-06 12:51:44 -07:00
Andy
ae31d17fda ej.web.all: Ignore new lint failures (#20363) 2017-10-06 12:51:30 -07:00
Andy
0bdab33bba backoff: Remove unnecessary type parameter (#20362) 2017-10-06 12:51:21 -07:00
Andy
cf92e80edc activex-*: Fix no-unnecessary-generics lint failures (#20361) 2017-10-06 12:51:12 -07:00
Nathan Shively-Sanders
f6abcf525c Merge pull request #20127 from Syncfusion-JavaScript/master
15.3.33 added
2017-10-06 11:59:46 -07:00
Alvis Tang
1aefe0126e node: add the definition for util.callbackify (#19114)
* fix(node): add the definition for util.callbackify

* test(node): add an unit test for util.callbackify
2017-10-06 11:26:17 -07:00
Bel
dffd06e0ab redux-form: Allow direct importing to reduce bundle size and add some default exports (#20147)
* Add some export defaults to match the library and allow importing directly from lib files

- also updated some of the actions while touching that file

* Fix extra new line in redux form
2017-10-06 11:25:11 -07:00
Dolan
54e1904afc Jsforce Query fixes (#20101)
* Query fixes

* Fix implementing promise interface

* Make Query Implement Readable
2017-10-06 11:24:36 -07:00
kasuparu
384abb417b [async] [i2c-bus] Improve async.auto() typing, fix i2c-bus typos (#20131) 2017-10-06 11:23:30 -07:00
spiffytech
bb778b7f6d rss: fix item enclosure optional property (#20164)
For item enclosures, it's _either_ a file _or_ a URL. The docs specify that one of the two is always optional, and the source code only mandates the `url`, and may ignore the `file`.

https://www.npmjs.com/package/rss
https://github.com/dylang/node-rss/blob/master/lib/index.js#L83
2017-10-06 11:22:57 -07:00
Adithya Reddy
6a96efd84a Fixed incorrect type for Twit.stream (#20173)
The Twit docs [specifically says](https://github.com/ttezel/twit#using-the-streaming-api) that the `stream` function returns an `EventEmitter`. It also says that the `EventEmitter` has [two methods - `start()` and `stop()`](https://github.com/ttezel/twit#streamstop) to start and stop the Twitter stream.

The return type was incorrectly specified as a `NodeJS.ReadableStream`. This fixes that.
2017-10-06 11:22:29 -07:00
cynecx
0b21b7dd63 [react] [react-dom] Add support for rendering an array of elements (#19363)
* Test

* Fix react typings

* Revert "Use []-syntax for some cases."

This reverts commit 5f6e55843980b2cff9ace4174f72b4f8aa7ad278.

* Modify another render function's return type

* Use Array<T> instead in react.d.ts & Fix issues with the typescript linter & Adapt changes in react-router

* Convert Array<T> to T[]

* Add support for string and number return types.
2017-10-06 19:08:29 +01:00
AbdulKareem Nalband
66feddd421 fixes #19554 Office js function overloads for optional parameters (#20074)
* fixes #19554

@OfficeDev

* Fixed review changes
removed unused parameter docs
Removed no op overloads
2017-10-06 11:04:47 -07:00
Christian Petrov
52ddb17e23 Add typings for tabris-plugin-firebase (#20328)
* Add typings for tabris-plugin-firebase

tabris-plugin-firebase is a plugin for the framework for mobile app
development Tabris.js [1]. The plugin is made available by the Cordova
ecosystem and can thus only be consumed through a global variable.

Disable linter rule "strict-export-declare-modifiers" since using
"export {};" is the recommended way of exporting nothing when the module
is only to be used through a global variable [2].

Include missing Tabris.js interfaces due to the lack of support for the
"peerDependencies" field in package.json. Remove trivial types, i.e.
the interfaces NativeObjectEvents and NativeObjectProperties which were
essentially of type object. Linter rules disallow empty interfaces.

[1]: https://tabrisjs.com
[2]: https://www.typescriptlang.org/docs/handbook/declaration-files/templates/global-modifying-module-d-ts.html

Change-Id: I85a17308ec60647a547981708602089a3da39b07

* Change {} types to object

Those changed types may have own object properties.

Change-Id: I46b68ab018db86ad8d65c43d6dc28ca14e144d0b
2017-10-06 10:39:48 -07:00
Jan Karres
8b75e6e5ed Bugfix set not required DrawerViewConfig options to optional (#20349) 2017-10-06 10:24:05 -07:00
Andy
102bcc67fa ramda: Fix lint (#20367) 2017-10-06 10:22:09 -07:00
Andy
009229f922 redux-action: Fix lint (#20368) 2017-10-06 10:21:57 -07:00
Gaurav Lahoti
5795bd4edf mongodb CollectionCreateOptions definition v2.2 update (#20306) 2017-10-06 10:18:30 -07:00
Andy
afdde07862 webspeechapi: Require typescript@2.2 and rely on lib.dom.d.ts types (#20239) 2017-10-06 10:10:18 -07:00
Andy
c3d62c5372 webrtc: Require typescript@2.3 and rely on lib.dom.d.ts types (#20242) 2017-10-06 10:10:08 -07:00
Kaesebrot84
e33497fb48 Added a definition for projection in mat3 class in gl-Matrix (#20294)
* Added a definition for projection in mat3 class

Added the missing definition for projection function in the `mat3` class

* Added semicolon

Added missing semicolon.

* Added test for mat3.projection()

Added test for mat3.projection()
2017-10-06 10:08:08 -07:00
Gintautas Miselis
0887bbe243 [watson-develop-cloud] new methods and version dates (#20330) 2017-10-06 10:03:04 -07:00
Jakob Truelsen
6667645472 Move axe call back to axe from scales (#20273)
These callbacks do not exist on scales, but exist instead on the axe.
This is not well described in the documentation, but adding them to the scales
they are never called while they are called if they are added to the axe.
2017-10-06 10:02:33 -07:00
Andy
5b43049d8d js-data: Provides its own types (#20247) 2017-10-06 09:54:22 -07:00
Andy
edcbfae6b0 tinymce: Fix lint (#20238) 2017-10-06 09:53:52 -07:00
Andy
53d3db57a8 transducers-js: Fix lint (#20237) 2017-10-06 09:53:39 -07:00
Thomas Bouldin
234e726219 Allow option to be a string in Node 6 request methods (#20272)
* Add string option to request methods.

Per [Node docs](https://nodejs.org/docs/latest-v6.x/api/http.html#http_http_request_options_callback) the `get` and `request` methods should allow the `options` param to be a string. This is true for both the 'https' and 'http' modules.

* Add self to "definitions by" per README recommendations
2017-10-06 07:21:37 -07:00
sotnight
262601f878 Fixed bug in pixi.js. TextMetrics.lineWidgets is incorrect. Should be TextMetrics.lineWidths (#20314) 2017-10-05 12:19:36 -07:00
xeningem
4b74fba917 Add types for convert-layout ( https://github.com/ai/convert-layout ) (#20326)
* Add types for convert-layout ( https://github.com/ai/convert-layout )

* Add missed layouts, fix tsc warnings

* Fix tslint and common mistakes
2017-10-05 12:05:51 -07:00
Michael Ledin
c224cbd8b7 Add Calculator type to markerclustererplus. (#20322) 2017-10-05 11:31:49 -07:00
czengg
5ae8f2754f add constants to exports (#20304) 2017-10-05 11:31:28 -07:00
Max Battcher
3b6b92d45e Revert PouchDB module changes from #18519 (#20305)
Per the README, and with research prompted by #19691, the shape of PouchDB export should reflect what is currently the node package's package.json main export shape (not jsnext:main).
2017-10-05 11:23:53 -07:00
Simon Ramsay
fc10803f20 Patch 1 (#20255)
* call Job.priority() to get the current number priority

* added parameterless definition for Job.priority()

- when called without a priority parameter, it returns the current priority of the job

relevant source https://github.com/Automattic/kue/blob/master/lib/queue/job.js#L520-L536
note: JSDocs in Kue source code appear to not include optional parameters

* priority() returns string if priority set to unexpected priority string
2017-10-05 11:23:27 -07:00
Benjamin Lichtman
49844d69f6 Merge pull request #19822 from adrianbardan/twitter-stream-channels
twitter-stream-channels - fix parameters for StreamChannels: stop()
2017-10-05 11:20:17 -07:00
wagich
b30fe84b29 updates flickity definitions for version 2 and enables use as a module (#20128)
* updates flickity definitions for v2 and enables use as a module

* adds tslint.json and makes tslint happy

* tries to make travis happy
2017-10-05 11:16:02 -07:00
Steve Hipwell
bb0de78f73 Add @koa/cors based on kcors (#20310) 2017-10-05 22:46:26 +09:00
Konstantin Vasilev
01a5cf5820 [sequelize] add operatorsAliases option (#20284)
* [sequelize] add operatorsAliases option

* fix. right symbols usage

* add arbitrary key for aliases options

* fix arbitrary key for strict usage
2017-10-05 22:38:41 +09:00
Dan Evison
b951e88ed5 Added the styling props to the ReferenceLine (#20315) 2017-10-05 22:37:58 +09:00