Commit Graph
67880 Commits
Author SHA1 Message Date
Markus Erlandsson efc6453acf [@types/xrm] add Xrm.Navigation.navigateTo method (#43026)
* add Xrm.Navigation.navigateTo method

* fix linting errors and slight better comments

* Comment errors
2020-03-18 16:24:10 -04:00
Jack Bates 640c0fc048 [redux-immutable] Enable noImplicitThis (#42943) 2020-03-18 16:23:50 -04:00
Ángel Manuel Martín c888b9e91a js-nacl: new method random_bytes (#43142)
* feat(js-nacl): new method random_bytes

* docs(js-nacl): up version number in header
2020-03-18 16:23:27 -04:00
Super Zheng 76bb329370 feat(hashring): add custom hash function type to algorithm (#43161) 2020-03-18 16:23:00 -04:00
WhizSid 4a852d7a7d [react-onsenui] Tabbar render parameters (#43043)
* [react-onsenui] Tabbar render method parameters

* Removed automatically added spaces from formatter

* Fixed linter errors

* Fixed the active status issue
2020-03-18 16:22:28 -04:00
Hugo MullerandHugo Muller 6207e4654e fix types for lucene (#43164)
change Node.termLocation definition

Co-authored-by: Hugo Muller <hmu@reportlinker.com>
2020-03-18 16:20:16 -04:00
Niklas Mollenhauer 4bf2352729 Add types for once/off/removeListener (#43170) 2020-03-18 16:19:17 -04:00
Evan Cloutier ab406a414e [v3.1.0] Update react-native-share type definitions (#43171)
* Update type definition for v3.1.0

* Trigger new build

* Remove patch version; linting
2020-03-18 16:18:05 -04:00
ankhler 4797a7ad97 Add function getAutoLockDelay to chrome.idle (#43175)
* Add function getAutoLockDelay to chrome.idle

* Update description
2020-03-18 16:17:35 -04:00
Samuel Weckström 5df6625b02 @types/recharts: Add className type to <Cell /> (#43178) 2020-03-18 16:17:15 -04:00
Elias García c607aaedbd [yup]: Fix typo in the doc of the abortEarly prop of the ValidateOptions interface (#43193)
* [yup]: Fix typo in the abortEarly prop of the ValidateOptions interface

* [yup]: Add @elias-garcia username to the index.d.ts file
2020-03-18 16:16:39 -04:00
Alex Lisenkov c82148ec1c Type options parameter (#43197) 2020-03-18 16:16:20 -04:00
CRollin 39544038a8 fix: unrequired props should be optional (#43195)
Some properties of PaginationProps were not optional even thought the package documentation said they were not required.
2020-03-18 16:15:09 -04:00
Michaël De Boey 0664856f4e Remove cloudevents-sdk (#43040) 2020-03-18 09:50:35 -07:00
ethanandethan 9c4dde3661 add type definition for rascal (#43133)
* add type definition for rascal

* add reference node

* Increase TypeScript version to match amqplib

Co-authored-by: ethan <meshethan@gmail.com>
2020-03-18 09:29:12 -07:00
Luiz Victor Linhares Rocha 8770afcbcd [relay-runtime]: allow readonly array elements to be inferred in RecordProxy (#43187)
* fix(unarray): infer elements of ReadonlyArray

* fix(dtslint): remove unsupported tags
2020-03-18 11:31:06 +01:00
Poyan Nabati eb3ba1e77e [react-native] Add AnimatedInterpolation to toValue type (#36760)
* Add `AnimatedInterpolation` to `toValue` type

`AnimatedInterpolation` is a possible type of `toValue`, see https://facebook.github.io/react-native/docs/animations#tracking-dynamic-values

* Add test for toValue being AnimatedInterpolation
2020-03-18 11:27:50 +01:00
Clar Charron 83c455857d Fix uuid 7.0 (#43018) 2020-03-17 14:45:12 -04:00
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