Commit Graph
35986 Commits
Author SHA1 Message Date
Page- bcffa79aae Memoizee: Options.length can be false (#20408) 2017-10-09 14:38:13 -07:00
Thomas Corbière b3c8a9c24d nsqjs: adds tslint.json and fixes definitions. (#20437)
* Fixes event definitions.

* Fixes parameter definition.

* Adds new tests.

* Fixes lint errors.
2017-10-09 14:37:25 -07:00
Haroen Viaene 1031351010 algoliasearch: add string enums for exact values allowed (#20351)
* algolia: add string enums

instead of just `string`, list the allowed values, see the api doc at https://www.algolia.com/doc/rest-api/search/#batch-write-operations-multiple-indices etc.

* add name

* Update index.d.ts
2017-10-09 14:36:05 -07:00
alexandre melard 0aac141a9e openlayers: update missing definitions from 4.3.0 to 4.3.4 (#20228) 2017-10-09 14:35:33 -07:00
Eloy Durán 98050fbb2f Merge pull request #19840 from huhuanming/react-native
Add Fetch and Remove dom in tsconfig
2017-10-09 20:46:10 +02:00
Andy 5ee5a469a4 koa-cors: Remove unnecessary reference to "node" (#20439) 2017-10-09 10:41:31 -07:00
huhuanming d55a543b6e remove dom 2017-10-09 22:51:02 +08:00
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