Commit Graph
57967 Commits
Author SHA1 Message Date
Connor Schlesiger 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
spacejack fff1fb67be Add other component types for onmatch return type (#20378) 2017-10-09 14:42:37 -07:00
Ishaan Malhi e119988a71 Fixup aws lambda callback definitions. (#20381) 2017-10-09 14:41:41 -07:00
Maarten Rijke 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 Glasgow 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
BehindTheMath 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 Schantz a4f3e19300 StreetViewPanorama extends MVCObject (#20405) 2017-10-09 14:39:31 -07:00
Hugues Stefanski 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 Hathaway 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- 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
abeall 07f707e2eb Fixed declaration of title/label as ReactNode for components, per docs 2017-10-09 12:12:25 -04: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
Nicolas Penin 2024db07b1 updated require in seqencify tests 2017-10-08 10:24:17 +02:00
Hugues Stefanski 0378e00c30 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2017-10-08 10:06:44 +02:00
Hugues Stefanski 8b26070d2a Added tests for d3-geo fitHeight and fitWidth 2017-10-08 10:06:28 +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
Hugues Stefanski c4fdefb8d3 Added spacing between methods 2017-10-07 22:26:28 +02:00
Hugues Stefanski 9fba831010 Missing space 2017-10-07 19:53:36 +02:00
Hugues Stefanski 1194c013de Fix asterisk position 2017-10-07 19:32:08 +02:00
Hugues Stefanski a02acb4da8 Updated d3-geo to reflect version 1.9.0: added fitWidth and fitHeight methods 2017-10-07 17:38:07 +02:00
abeall d820b8efeb Changed TabProps.title to ReactNode not string, per docs 2017-10-07 00:34:24 -04: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