Commit Graph
35997 Commits
Author SHA1 Message Date
Denis BendrikovandWesley Wigham ff3bfddfc5 add reloadState argument (#20250) 2017-10-09 14:44:47 -07:00
Cassey LottmanandWesley Wigham 1afcc7cfa8 Add missing Chartist element in ClassNames object (#20216)
* missing comment

* missing comment

* add missing scale & gridBackground

* remove scale which is from a plugin

* missing closing parens
2017-10-09 14:44:26 -07:00
Connor SchlesigerandWesley Wigham c8e5feb857 Nightwatch add missing options property to browser type and fix test_settings type (#19327)
* Add 'options' property to browser type

* Fix test_settings type; actually object of NightWatchTestSettingScreenshots

* Fix nightwatch.js spelling

* Add Nightwatch to all exports, fix 'Nightwatch' punctuation, Nightwatch browser returns refer to 'this' for easier extendability

* Additional changes mostly to fix issues when adding custom assertions and commands

* Fix lint issues

* Fix no any union

* Switch NighwatchCallbackResult to any

* Readd custom assertions and commands interfaces
2017-10-09 14:43:47 -07:00
spacejackandWesley Wigham fff1fb67be Add other component types for onmatch return type (#20378) 2017-10-09 14:42:37 -07:00
Ishaan MalhiandWesley Wigham e119988a71 Fixup aws lambda callback definitions. (#20381) 2017-10-09 14:41:41 -07:00
Maarten RijkeandWesley Wigham f72b298cc5 [react-bootstrap-table] csvFileName also accepts function returning string (#20352)
The csvFileName prop on the BootstrapTable component also accepts a function that returns a string.
2017-10-09 14:41:10 -07:00
Daniel GlasgowandWesley Wigham 4e39a2f43d @types/auth0 add full typedef for ManagementClientOptions Issue #20210 (#20214)
* Add full typedef for ManagementClientOptions

* add semi colons and remove '?'
2017-10-09 14:40:30 -07:00
BehindTheMathandWesley Wigham f7fb43c092 sanitize-html: add allowedSchemesByTag, allowProtocolRelative to IOptions (#20407)
* sanitize-html: add allowedSchemesByTag to IOptions

* sanitize-html: add allowProtocolRelative to IOptions
2017-10-09 14:39:53 -07:00
Brian SchantzandWesley Wigham a4f3e19300 StreetViewPanorama extends MVCObject (#20405) 2017-10-09 14:39:31 -07:00
Hugues StefanskiandWesley Wigham 66e778fe30 Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight… (#20388)
* Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight methods

* Fix asterisk position

* Missing space

* Added spacing between methods

* Added tests for d3-geo `fitHeight` and `fitWidth`
2017-10-09 14:39:09 -07:00
Andrew HathawayandWesley Wigham 91bbcaf395 Add compactType prop to react-grid-layout (#20406)
* React-grid-layout typings to support compactType prop

* Bump version of typings

* Add in author details

* Fix trailing whitespace
2017-10-09 14:38:44 -07:00
Page-andWesley Wigham bcffa79aae Memoizee: Options.length can be false (#20408) 2017-10-09 14:38:13 -07:00
Thomas CorbièreandWesley Wigham 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 ViaeneandWesley Wigham 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 melardandWesley Wigham 0aac141a9e openlayers: update missing definitions from 4.3.0 to 4.3.4 (#20228) 2017-10-09 14:35:33 -07:00
Eloy DuránandGitHub 98050fbb2f Merge pull request #19840 from huhuanming/react-native
Add Fetch and Remove dom in tsconfig
2017-10-09 20:46:10 +02:00
AndyandGitHub 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ánandGitHub e434515761 Merge pull request #20236 from simontreny/master
[react-native] Add NativeScrollEvent.velocity
2017-10-09 12:47:03 +02:00
John GozdeandJohn Reilly 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
shralpmeisterandRyan Cavanaugh 161f894269 Adds rawTxtRecord and txtRecord fields to mdns/Service. (#20360) 2017-10-06 16:13:47 -07:00
Anthony NicholsandRyan Cavanaugh 4fd34d1f9b nedb: add timestampData to DataStoreOptions (#20259) 2017-10-06 16:13:29 -07:00
AndyandGitHub 14df840b7d Fixup strictFunctionTypes settings (#20374) 2017-10-06 14:21:13 -07:00
AndyandGitHub 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
AndyandGitHub 6e1ad980e8 mithril: Fix no-self-import lint failures (#20366) 2017-10-06 13:59:04 -07:00
AndyandGitHub ab22ef85ba sharepoint: Fix lint (#20369) 2017-10-06 13:47:00 -07:00
AndyandGitHub 08d7a2e170 spdy: Write as external module (#20370) 2017-10-06 13:46:13 -07:00
AlexandreandRyan Cavanaugh 430e451626 Improve supercluster types (#20348)
* Improve supercluster types

* Remove remaining declare
2017-10-06 13:44:28 -07:00
VladimirandRyan Cavanaugh 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
AndyandGitHub 2ce173a725 lodash: Fix lint failure (#20365) 2017-10-06 12:51:56 -07:00
AndyandGitHub e130901727 execa: Remove unused type parameters (#20364) 2017-10-06 12:51:44 -07:00
AndyandGitHub ae31d17fda ej.web.all: Ignore new lint failures (#20363) 2017-10-06 12:51:30 -07:00
AndyandGitHub 0bdab33bba backoff: Remove unnecessary type parameter (#20362) 2017-10-06 12:51:21 -07:00
AndyandGitHub cf92e80edc activex-*: Fix no-unnecessary-generics lint failures (#20361) 2017-10-06 12:51:12 -07:00
Nathan Shively-SandersandGitHub f6abcf525c Merge pull request #20127 from Syncfusion-JavaScript/master
15.3.33 added
2017-10-06 11:59:46 -07:00
Alvis TangandRyan Cavanaugh 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
BelandRyan Cavanaugh 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
DolanandRyan Cavanaugh 54e1904afc Jsforce Query fixes (#20101)
* Query fixes

* Fix implementing promise interface

* Make Query Implement Readable
2017-10-06 11:24:36 -07:00
kasuparuandRyan Cavanaugh 384abb417b [async] [i2c-bus] Improve async.auto() typing, fix i2c-bus typos (#20131) 2017-10-06 11:23:30 -07:00
spiffytechandRyan Cavanaugh 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 ReddyandRyan Cavanaugh 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
cynecxandJohn Reilly 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 NalbandandRyan Cavanaugh 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 PetrovandRyan Cavanaugh 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 KarresandRyan Cavanaugh 8b75e6e5ed Bugfix set not required DrawerViewConfig options to optional (#20349) 2017-10-06 10:24:05 -07:00
AndyandGitHub 102bcc67fa ramda: Fix lint (#20367) 2017-10-06 10:22:09 -07:00
AndyandGitHub 009229f922 redux-action: Fix lint (#20368) 2017-10-06 10:21:57 -07:00
Gaurav LahotiandRyan Cavanaugh 5795bd4edf mongodb CollectionCreateOptions definition v2.2 update (#20306) 2017-10-06 10:18:30 -07:00
AndyandGitHub afdde07862 webspeechapi: Require typescript@2.2 and rely on lib.dom.d.ts types (#20239) 2017-10-06 10:10:18 -07:00
AndyandGitHub c3d62c5372 webrtc: Require typescript@2.3 and rely on lib.dom.d.ts types (#20242) 2017-10-06 10:10:08 -07:00