Commit Graph
67862 Commits
Author SHA1 Message Date
Elizabeth Samuel cafa16bf7c [office-js] [office-js-preview] (Outlook) Update DisplayReply* params (#43184)
* [office-js] [office-js-preview] (Outlook) Update DisplayReply* params

* Tweak
2020-03-17 11:18:27 -07:00
Christoph Tavan 880d00c856 Add deprecated deep imports (#43090)
Fixes #42634

Added again for consistency with uuid@7.x
2020-03-17 09:01:46 -07:00
Andrew f0442ecfad [codemirror] Add function types for merge addon (#43019)
* [codemirror] Add merge CommandActions types

* [codemirror] Add test

* [codemirror] Update ts.config

* [codemirror] update tests
2020-03-17 11:12:23 -04:00
Makoto Tateno 01db0468b4 [styled-system__css] ]allow null (#43159) 2020-03-17 11:06:29 -04:00
Adam ZerellaandAdam Zerella b9d846b9a1 [gaze] Add typing for gaze (#43151)
Co-authored-by: Adam Zerella <adamzerella@users.noreply.github.com>
2020-03-17 11:03:36 -04:00
Jeffrey Meng 2f2b97cd5d Mailcheck: Add support for Synchronous mode (#43144)
* Add support for Synchronous mode

* Update header

* Remove patch from header
2020-03-17 10:49:01 -04:00
Elizabeth Samuel 80fef04542 [office-js-preview] (Outlook) Fix signature API param (#43166) 2020-03-16 11:57:16 -07:00
Elizabeth Samuel 84e9ce5492 [office-js-preview] (Outlook) Move signature APIs from Mailbox to item compose subclasses (#43127) 2020-03-16 09:40:36 -07:00
Yuri Drabik af165fc771 Added typings for the package markdown-draft-js (#43041) 2020-03-14 19:23:57 -07:00
Will Heslam c9500ceeca [@types/ramda] fix add function type (#42799)
add only operates on numbers, not strings:
https://github.com/ramda/ramda/blob/v0.26.0/source/add.js
(and https://github.com/ramda/ramda/blob/v0.27.0/source/add.js)
2020-03-14 19:23:27 -07:00
Piotr Błażejewicz (Peter Blazejewicz) b55b70b96b fix(plotly.js): add maintainer (#42840)
This is a naive way trying to fix #42558 just by republishing plotly.js
to the NPM registry, fixing the previous submission error that affects
package and related ecosystem.

Thanks!
2020-03-14 19:22:27 -07:00
Kyle 171968299c Add types for mongodb-queue (#43021) 2020-03-14 19:14:03 -07:00
Josh Holmer c6b8f6a519 Add rc-steps definition (#43015) 2020-03-14 19:13:01 -07:00
Adam ZerellaandAdam Zerella 3cbb889216 Add type definitions for math-expression-evaluator (#43009)
Co-authored-by: Adam Zerella <adamzerella@users.noreply.github.com>
2020-03-14 19:11:16 -07:00
Adam ZerellaandAdam Zerella 9582dc2bb7 Add type def for clamp (#43011)
Co-authored-by: Adam Zerella <adamzerella@users.noreply.github.com>
2020-03-14 19:10:24 -07:00
Ruby Quail f92c1d4227 adding types for b-spline package (#43007)
* add b-spline types

Signed-off-by: Ruby Quail <ruby@rubyquail.design>

* Update index.d.ts

* Update index.d.ts

* fixed an error

Signed-off-by: Ruby Quail <ruby@rubyquail.design>

* fix tslint

Signed-off-by: Ruby Quail <ruby@rubyquail.design>

* export =

Signed-off-by: Ruby Quail <ruby@rubyquail.design>

* fixed export syntax

Signed-off-by: Ruby Quail <ruby@rubyquail.design>

* require format

Signed-off-by: Ruby Quail <ruby@rubyquail.design>

* missed a semicolon

Signed-off-by: Ruby Quail <ruby@rubyquail.design>
2020-03-14 19:09:02 -07:00
Tim c65e5f7549 ssh2: Fix callback types (#42823)
* Fix callback types

These were half-fixed recently (in my local version `err` cannot be `undefined`). But if you check the code the second parameter to all the callbacks should be `| undefined` too. I haven't checked all these callbacks exhaustively.

I also changed the SFTP callbacks from `any` to `Error | undefined`. Again I haven't fully analysed the entire code but it seems likely that this is the correc type.

Also changed some fields to use `?` which is a bit more idiomatic, and fixed the type of the `getConnections` callback (according to the Node typings - who knows if those are correct?).

* Missed one parameter
2020-03-14 19:07:54 -07:00
Chris Wiggins cbeb5ba463 Updates tar-fs to include pack option (#42813)
* Updates tar-fs to include pack option

* Switch away from require

* Remove explicit typescript version
2020-03-14 19:04:58 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 5ed9dc7696 update(browser-resolve): align with v1.11 (#42807)
- add version to TS Header
- align package configuration
- align package definition with the orignal package details:
https://github.com/defunctzombie/node-browser-resolve/blob/master/index.js
- remove 3-slashes reference as duplicate
- minor refine for `callback` `error` parameter (can be null as per
usage)
- update authors
- update tests

https://github.com/defunctzombie/node-browser-resolve#api

Thanks!
2020-03-14 18:24:15 -07:00
Kevin HinterlongandKevin Hinterlong ccd1e01846 new @ember/controller transitionToRoute method (#42808)
Co-authored-by: Kevin Hinterlong <hinterlong@verizonmedia.com>
2020-03-14 18:20:45 -07:00
Marcelo CastagnaandCastagna, Marcelo Sebastian 5e3bb0afa9 Add missing methods for Signale 1.4 (#42798)
* missing number array test

* fix whitespace

* fix comment alignment

Co-authored-by: Castagna, Marcelo Sebastian <MCastagna@srt.gov.ar>
2020-03-14 18:14:36 -07:00
Alex Jerabek 32ea5fc74d [office-js-preview] Updating office-js-preview with the latest PivotFilter APIs (#43119)
* Removing prompt verbage from selection binding options

* Update office-js-preview withthe latest from the CDN
2020-03-13 18:50:19 -07:00
Louis-Dominique Dubeau 2c58b77f66 [terminal-kit]: fix the typings for Callback and inputField (#42804)
* Fix the typing of Callback.

The previous typing for `Callback` makes no sense. If someone used a callback that had both attributes (which is the most common case), then `err` would be typed as
`undefined` inside the callback. However, whether or not `err` is undefined is not determined by the number of
parameters set on the callback. The previous typing would have been correct if there was a guaranteed that when the
callback has two parameters, the first one is necessarily `undefined`. But there is no such guarantee. If an error
happened, then the first parameter is **not** undefined.

* Fix the return values of inputField.

The Promise was declared to resolve to `boolean` which is absolutely incorrect. `inputField`'s promise resolves to a
string. If cancelation was allowed the user canceled (hit escape), then the final value may be undefined this is true both for the promise and the callback.

* Make the promise mandatory on the return value of inputField.

The promise on the object returned by inputField is always present.

* Fix the return value of inputField to always return a value.

inputField *always* returns an object, *irrespective* of whether a callback is passed. The object is more complex than
currently defined but I only use the `promise` field on it and have no inclination to figure the whole object's
structure. Someone else will have to figure it out.

* Drop the explicit typings on the callback parameters.

They override, and consequently they obscure, the typings that are provided by the definition files.

* Test that abort field is present on return value of inputField.

terminal-kit *always* provides it, callback or no callback.

* The new typings make input be possibly undefined.
2020-03-13 18:48:05 -07:00
Ramin B 53c87a1624 Allow null in CompletionCallback type (#42802)
The current `CompletionCallback` type doesn't allow you to set `error: null`, which is required if you don't have an actual error. This change allows for that
2020-03-13 18:45:16 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 63af21defc feat(karma-material-reporter): new type definition (#42993)
- type definition for v1.1
- tests

https://github.com/ameerthehacker/karma-material-reporter

Thanks!
2020-03-13 18:44:46 -07:00
wslaghekke 8dbf6731f0 Add missing showGroundAtmosphere to Globe (#43110) 2020-03-13 18:41:50 -07:00
Piotr Błażejewicz (Peter Blazejewicz) f633bcdf25 feat(pixelmatch): update to version 5.1 (#43096)
- new `diffMask` option
- rewrite default value documentation for options
- test amend
- apply DT Prettier styling to source files

https://github.com/mapbox/pixelmatch/compare/v5.0.0...v5.1.0

Thanks!
2020-03-13 18:41:27 -07:00
CarlosKlapp be266a9cca [Node] (Crypto) {KeyObject} V12 add unit test symmetricKeySize (#43109)
Related to PR #43052
2020-03-13 18:40:27 -07:00
Vincenzo Chianese 819ef44294 fix: security in OAS2 is a dictionary of string (#43105) 2020-03-13 18:36:09 -07:00
Lemon Marie Garrett e0faeb6bbe update pagination proptypes according to updated docs for react-native-snap-carousel (#43097) 2020-03-13 18:33:51 -07:00
Michel Bitter 698d4c6c1c Update Methods by implementing real values (#43104) 2020-03-13 18:33:15 -07:00
Dmytro Gokun cdc9c593eb [mapbox-gl] add LngLat.distanceTo (#43084) 2020-03-13 18:32:08 -07:00
Guy Gascoigne-Piggford 8193cd43a0 [react-table]: fix UseTableRowProps (#43049)
Address https://github.com/DefinitelyTyped/DefinitelyTyped/issues/42889

Also updated test so that it would have caught this bug.
2020-03-13 18:29:27 -07:00
Joey KilpatrickandJed Mao 6cd0b5eee4 [chai] Fixed .fail(...) method return type and added overloading (#43098)
* Fixed .fail(...) method return type and added overloading

* Update types/chai/index.d.ts

Co-Authored-By: Jed Mao <jedmao@users.noreply.github.com>

* Update types/chai/index.d.ts

Co-Authored-By: Jed Mao <jedmao@users.noreply.github.com>

* Update types/chai/index.d.ts

Co-Authored-By: Jed Mao <jedmao@users.noreply.github.com>

Co-authored-by: Jed Mao <jedmao@users.noreply.github.com>
2020-03-13 18:28:48 -07:00
Krzysztof Heim 59441845c0 add idle_in_transaction_session_timeout (#43089)
related to: https://github.com/brianc/node-postgres/pull/2049
2020-03-13 18:28:13 -07:00
Romin Halltari f3febcc1ba react-select: Add missing headingProps to ComponentProps (#43091)
https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/components/Group.js
2020-03-13 18:27:35 -07:00
Laurin Quast 46200a392a fix(slonik): remove raw tag https://github.com/gajus/slonik/commit/95631e3ec62563a1cbf0015b3852cfcd751c4925 (#43036) 2020-03-13 18:26:55 -07:00
Walter Barbagallo ebc30686eb [redux-form] remove myself (#43083) 2020-03-13 18:22:00 -07:00
P.J. Swesey fa8abd021c feat(cometd): Add Status type used by CometD.prototype.getStatus() (#43081) 2020-03-13 17:44:48 -07:00
Nouman Sakhawat 7fae8ffc68 Update index.d.ts (#42675)
onDropdownWillShow & onDropdownWillShow should be generic
2020-03-13 16:42:40 -07:00
TypeScript BotandTypeScript Bot a7faa22da4 Update CODEOWNERS (#43118)
Co-authored-by: TypeScript Bot <types@microsoft.com>
2020-03-13 16:02:13 -07:00
Martin 3ad26a8e97 [@types/universal-analytics] Added type comments (#42609)
Added comments for Google Analytics abbreviations.
2020-03-13 14:18:44 -07:00
Elizabeth Samuel f148219b36 [office-js-preview] (Outlook) Signature APIs (#43121)
* [office-js-preview] (Outlook) Signature APIs

* Update ComposeType mode

* Updates based on feedback

* Updates based on feedback
2020-03-13 14:07:30 -07:00
Eloy Durán e22f2b8efc [react-native] Make (Native)EventEmitter a class (#43122) 2020-03-13 20:04:54 +01:00
Vincenzo Chianese f4bb8b59e0 fix: cookie.expires can be a number (#42783)
* fix: cookie.expires can be a number

* fix: test
2020-03-12 19:14:53 -07:00
Fela Maslen 584eb9feba Type definition for mock-express-request (#42985) 2020-03-12 19:00:59 -07:00
Piotr Błażejewicz (Peter Blazejewicz) 282a27a0c2 feat(karma-parallel): new definition types (#42984)
- definition files
- tests for added configuration options

https://github.com/joeljeske/karma-parallel#readme
https://github.com/joeljeske/karma-parallel#examples

Thanks!
2020-03-12 18:52:31 -07:00
Christian Tellnes eefb9cb0fd add types for primus lib (#42982) 2020-03-12 18:41:12 -07:00
ZacandZachary Svoboda 022d52aae7 Add new method to Chess.js (#42869)
* [chess.js] add new method

* [chess.js] correct method name in test

* [chess.js] correct test case

* [chess.js] run prettier

* [chess.js] ts lint

* [chess.js] update package version

* Revert "[chess.js] update package version"

This reverts commit aeea50bc67ee9f9353507f07a99b2bd60488d737.

Co-authored-by: Zachary Svoboda <svobodaz@orvis.com>
2020-03-12 18:21:00 -07:00
Carl Egbert b6e672ed63 make react-burger-menu styles prop use Partial (#43074) 2020-03-12 18:19:13 -07:00