Commit Graph

70910 Commits

Author SHA1 Message Date
Glauber Carvalho
60b283bfb8
🤖 Merge PR #46860 Vimeo - Update RequestOptions query by @glaubervictor
* Update RequestOptions query - string to object

* Update vimeo tests
2020-08-17 22:53:51 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
fb9394423e
🤖 Merge PR #46852 update(wcag-contrast): version 3.0 update by @peterblazejewicz
- typed textual score, including `AA Large` and `Fail` introduced in 3.0
- improved JSDOc
- version bump
- maintainer added
- tests amended

https://github.com/tmcw/wcag-contrast/compare/v2.1.2-0...v3.0.0

Thanks!
2020-08-17 18:57:33 -04:00
Michael Ness
6fd37a5577
🤖 Merge PR #46799 [@types/underscore] Collection and Array Tests - Shortening Cleanup by @reubenrybnik
* Shortening test type and variable names and reorganizing tests.

* Updating section headers to be uniform.

* Cleaning up summary comments and a few unnecessary _Chain values not caught by linting and making all lines for changed functions 80 characters long or less.

* Using a constant tuple instead of a generic array for deepProperty.
2020-08-17 17:33:27 -04:00
Antonio Piha
fe8a807b31
🤖 Merge PR #46347 Nsqjs package updating types to latest version by @antonio-piha
* Nsqjs updating types to latest version

* Update types/nsqjs/index.d.ts

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>

* Update types/nsqjs/index.d.ts

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>

Co-authored-by: antonio-piha <antonio.piha@hotmail.com>
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2020-08-17 17:02:24 -04:00
Rory McGuinness
252c770d19
🤖 Merge PR #46180 [poker-evaluator] Fix for number input by @rorymcgit 2020-08-17 16:43:08 -04:00
Jason Tremper
ad8112d7a5
Removed me as owner (#46431)
I haven't touched this file in years, so wouldn't be a good candidate to own or review changes
2020-08-17 12:57:23 -07:00
Nathan Shively-Sanders
297606d31b
Fix knockout failure on TS 4.0 (#46844)
I couldn't get a type for ObservableStatic that works for both 4.0 and
3.9 and earlier, so I split the definitions.
2020-08-17 12:33:16 -07:00
Nathan Shively-Sanders
edd863d162
Update kap-plugin tests for new conf version (#46846)
The new version makes the type of `get` stricter by fixing a `string |
<string subtype>` union. This makes the return type of `get` not include
`undefined`.
2020-08-17 10:50:49 -07:00
Iulian Preda
c2256d9742
Removed OpenApi-v3 types (#46819)
* Removed OpenApi-v3 types

* Update notNeededPackages.json
2020-08-17 10:32:02 -07:00
Richie Bendall
3a072264d7
feat: Add typings for scratch-env (#46522)
* feat: Add typings for scratch-vm

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Replace tabs with spaces

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Declare as class

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Move ArgumentType, BlockType and TargetType to the correct scope

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Rename to `scratch-env`

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Fix lint

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Fix lint

Signed-off-by: Richie Bendall <richiebendall@gmail.com>

* Update types/scratch-env/index.d.ts

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>

Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2020-08-17 09:24:05 -07:00
Christophe Coevoet
d9a2e4cc8a
[sortablejs] Fix types for the onMove callback (#45684)
* [sortablejs] Fix types for the onMove callback

While return 1 or -1 is supported to override the final position, returning nothing is also supported (keeping the default position which is based on the dragging direction).

* [sortablejs] Add tests covering the onMove signature returning nothing
2020-08-17 09:10:20 -07:00
Nathan Shively-Sanders
1915357054
Fix eventsource for Typescript 4.0 (#45523)
* Fix eventsource for Typescript 4.0

Typescript 4.0 changes the definition of MessageEvent[Init] to add a
type parameter that tracks the type of MessageEvent.data. Since
eventsource monkeypatches MessageEvent, it has to update as well.
To remain compatible with old versions of Typescript, I created a 4.0
subdirectory.

Unfortunately, this PR won't pass until the beta (or maybe the RC?) of
4.0 starts. I'm creating it now so I don't forget about it.

* use relative path in tests
2020-08-17 08:41:33 -07:00
Adrian Castro
dce47c4fe6
🤖 Merge PR #46840 Breaking typo in @types/thrift by @IAL32
* Update index.d.ts

Small, but very important typo.

* Added test as well
2020-08-17 10:30:01 -04:00
Anna Henningsen
d868bfead7
🤖 Merge PR #46244 [node] Update with changes from v14.6.0 by @addaleax
Refs: https://github.com/nodejs/node/pull/34371
2020-08-17 10:15:31 -04:00
ghnacker
e81a76a6f4
🤖 Merge PR #46546 [@types/semver] fix: s,require('../'),require('../index'), by @ghnacker 2020-08-17 06:27:37 -04:00
Tomasz Pluskiewicz
9cff76f09a
🤖 Merge PR #46544 types for @rdfjs/serializer-ntriples by @tpluscode
* types for @rdfjs/serializer-ntriples

* lint
2020-08-17 06:26:37 -04:00
Tomasz Pluskiewicz
e1909013df
🤖 Merge PR #46543 sparql-http-client: fix typo and update StreamStore class by @tpluscode 2020-08-17 06:26:19 -04:00
Tomasz Pluskiewicz
3a4ce0adab
🤖 Merge PR #46393 Update Clownface to v1.0 by @tpluscode
* clownface: list method can return null

* clownface: added language filter feature

* clownface: forEach returns self

* rename exported interfaces to match future spec

* style

* revert: array type argument
2020-08-17 06:25:03 -04:00
rockSandy
d62f53ba8c
🤖 Merge PR #46827 [@types/miniprogram] update callback fail object by @rockSandy
* feat: update callback fail object

* feat: add tests
2020-08-17 04:25:21 -04:00
Simon Asp
d0206325a4
🤖 Merge PR #46790 [react-select]: Export IndicatorContainerProps by @simon-asp
* [react-select]: Export IndicatorContainerProps

* [react-select]: Add test for CustomIndicatorsContainer
2020-08-17 02:48:02 -04:00
Kallan
32455bc756
🤖 Merge PR #46589 [@types/chromecast-caf-receiver] Add media command functions to chromecast-caf-receiver by @Ritural
* Add media command functions to cast.framework.d.ts

Add removeSupportedMediaCommands
Add addSupportedMediaCommands
Add getSupportedMediaCommands
Add getCurrentSupportedMediaCommands

* Fix linting whitespace issue.
2020-08-16 23:09:14 -04:00
garyking
d4e7c79bb1
🤖 Merge PR #46722 xml2json: replace types of {} with Record<string, unknown> by @garyking
* use Record

# Conflicts:
#	types/xml2json/index.d.ts

* fix

* use generics

* fix lint errors from using generics only once
2020-08-16 18:24:19 -04:00
Barrett Routon
d8fc3f8dcf
🤖 Merge PR #46822 added group key to rate limiter for bull package by @zfghterb721
Co-authored-by: Barrett Routon <barrett@binderpos.com>
2020-08-16 14:04:40 -04:00
Eric Liu
207d750f0e
🤖 Merge PR #46604 types: upgrade carbon__pictograms-react to 10.16 by @metonym 2020-08-16 11:46:37 -04:00
wurstbonbon
6c3bba0e9f
🤖 Merge PR #46818 [prosemirror-view] Fix EditorView.setProps to no longer require state by @wurstbonbon 2020-08-16 11:37:55 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
340147c679
🤖 Merge PR #46810 feat(react-select): add missing defaultTheme export by @peterblazejewicz
This fixes danger bot warnings about the export missing in the DT
definition, see e.g.:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46790#issuecomment-674129586

https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/index.js#L11

Thanks!
2020-08-16 05:42:56 -04:00
TJT
5b1f615843
🤖 Merge PR #46488 feat(mongodb): Add type definition for projection and sort by @Celend
* [mongodb]: Add typing for projection and sort

* [mongodb]: Add contributor

* [mongodb]: Fix lint errors

* [mongodb]: Add comprehensive type definitions of projection and sort

* [mongodb]: Add related tests and allow query in projection(Mongodb 4.4 allows aggregation expressions in projection)

* [mongodb]: Fix typo

* [mongodb]: Fix code style problem

* [mongodb]: Update doc version to 3.6 for changed lines

* [mongodb]: Remove no-redundant-jsdoc rules

Co-authored-by: TJT <tjt@maimemo.com>
2020-08-16 03:43:37 -04:00
Nathan Brown
ff616a1458
🤖 Merge PR #46334 [material-ui] fix: makeSelectable omit inner component's onChange property by @ngbrown
* [material-ui] fix: makeSelectable omit inner component's onChange property.

* [material-ui-datatables]: update minimum TypeScript version to 3.5.

* [material-ui-pagination]: update minimum TypeScript version to 3.5.

* [react-material-ui-form-validator]: update minimum TypeScript version to 3.5.
2020-08-16 01:14:24 -04:00
Manuel Thalmann
0c793bde20
🤖 Merge PR #46410 [yeoman-environment] Fix incorrect log method by @manuth
* Allow log-message to be empty

* Add missing author-entries

* Refactor the `log`-declaration
2020-08-15 21:50:09 -04:00
Rong Shen
867ab9307d
🤖 Merge PR #46261 refactor(pull-stream): add type declarations for Source Callback and more by @jacobbubu
* refactor(pull-stream): add type declarations for Callback and its parameters to facilitate writing more concise function declarations

* fix(pull-stream): remove duplicate statements

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46261#discussion_r470849766

* fix(pull-stream): remove duplicate statements for `pull.infinite` test

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46261#discussion_r470849028

* fix(pull-stream): the `err` variable should be of type `pull.EndOrError` instead of `Error`.

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/46261#discussion_r470853069

* dpcs(pull-stream): chane `Definitions by:` from Michael de Wit to Rong Shen
2020-08-15 11:22:55 -04:00
Tilman Stehr
d7dc5928c0
🤖 Merge PR #46401 kdbxweb: fix wrong type for error code by @tstehr 2020-08-15 08:14:42 -04:00
Rikin Patel
7b133bd701
🤖 Merge PR #46042 updates types to support correct mutli date calendar props for react-infinite-calendar by @patelrikin
* updates types to support correct mutli date calendar props

* reverts interpolateSelection

* adds test and updates version

* Removes version update bump, thought it was bumping typings version
2020-08-14 20:50:42 -04:00
dnalborczyk
8531711ea7
🤖 Merge PR #46662 fix(google-protobuf): set and clear methods return message instance (support method chaining) by @dnalborczyk 2020-08-14 20:16:47 -04:00
Calvin Liang
9c680c4846
🤖 Merge PR #46274 fix(jest): add createMockFromModule to replace genMockFromModule by @CoolCyberBrain
* fix(jest): add `createMockFromModule` to replace `genMockFromModule`

* test(jest): add test for `jest.createMockFromModule`

* style(jest): remove trailing whitespace

* docs(jest): remove deprecated tag

* Revert "docs(jest): remove deprecated tag"

This reverts commit 875b63acf3e7873afd4051c87e02cff09c3bdd4a.

* Revert "Revert "docs(jest): remove deprecated tag""

This reverts commit 0fb5fc3a48579f5f307aca4fa96ebc051e1520c8.
2020-08-14 19:39:20 -04:00
Nathan Bierema
6a5fb3eb56
🤖 Merge PR #46386 [react-select] Fix Control component styles config function by @Methuselah96 2020-08-14 17:55:55 -04:00
Szymon Sukiennik
1f44568ab7
🤖 Merge PR #46384 [react-calendar] add missing allowPartialRange property by @ssukienn 2020-08-14 17:52:47 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
cfda1be0e3
🤖 Merge PR #46360 update(newman): add properties to run options by @peterblazejewicz
- `exportGlobals`
- `exportEnvironment`
- `exportCollection`
- add override for 'run' method

https://github.com/postmanlabs/newman/blob/develop/lib/run/index.js#L86

Thanks!
2020-08-14 17:37:44 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
fae426721a
🤖 Merge PR #46415 update(cli-progress): minor changes to 3.8 by @peterblazejewicz
- SingleBar.update overloaded
- SingleBar.increment overloaded
- SingleBar.updateETA added
- Options.etaAsynchronousUpdate property added
- version bump
- mantainer added

https://github.com/AndiDittrich/Node.CLI-Progress/compare/v3.6.1...v3.8.2

Thanks!
2020-08-14 17:35:55 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
d22b577f01
🤖 Merge PR #46172 feat(node-zendesk) redefine user fields type and usage by @peterblazejewicz
- provide closed list of custom field type:
https://developer.zendesk.com/rest_api/docs/support/user_fields#create-user-fields
- provide interface for custom user field itself:
https://developer.zendesk.com/rest_api/docs/support/user_fields#json-forma://developer.zendesk.com/rest_api/docs/support/user_fields#json-format
- tests amended

/cc @hisham

Thanks!

Closes #46163
2020-08-14 17:33:03 -04:00
ejose19
d3f0f8302b
🤖 Merge PR #46705 [yup] add generic to .test() by @ejose19 2020-08-14 12:38:00 -04:00
Jack Bates
fc17c7f765
[dotenv-flow] Remove superfluous /// <reference types="node" /> (#46734) 2020-08-14 09:32:05 -07:00
Jack Bates
a9f3af6e44
🤖 Merge PR #46756 [os-utils] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-14 09:42:58 -04:00
Cantasura
ff7d1bf40a
🤖 Merge PR #46179 mui-datatables typings v3.2 by @Cantasura
* added typings for mui-datatable v3.2

* added some test cases

* fixed some issues

* review changes

* fixes
2020-08-14 08:06:51 -04:00
Tobias Hann
ee23f3c5a9
🤖 Merge PR #46356 Changes for react-native-calendar-picker 7.0.0 by @automatensalat
* adjust types for release 7.0.0

* fix blank lines
2020-08-14 04:11:07 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
51d3528f28
🤖 Merge PR #46330 fix(multer): export Multer class contract for consumption by @peterblazejewicz
This tries to fix issue with non-exported interface of the multer class
to the creation code itself, which prevents from using instance methods
in proper way.

See #41970 for discussion of the problem.

/cc @restjohn

Thanks!

Fixes #41970
2020-08-14 03:53:26 -04:00
Jack Bates
7f1c259c3c
🤖 Merge PR #46748 [ip6addr] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-14 02:28:49 -04:00
Alex Kaul
deccd26fb5
🤖 Merge PR #46688 Add types for node-red-node-test-helper by @alexk111
* Add types for node-red-node-test-helper

* Add min. ts ver
2020-08-14 00:00:55 -04:00
Samuel Norris
33648cd0ea
🤖 Merge PR #46779 Update intercom-web - startTour type added by @sampnorris 2020-08-13 22:48:39 -04:00
garyking
ef87b808f9
🤖 Merge PR #46721 xml2json: alternateTextNode accepts strings too by @garyking 2020-08-13 22:11:18 -04:00
Igor Strebezhev
233d50d855
🤖 Merge PR #46676 Accept buffers in xml2json by @xamgore
* Accept buffers in xml2json

toJSON accepts Buffer:
9827264681/lib/xml2json.js (L123)

toXML accepts Buffer:
9827264681/lib/json2xml.js (L4)

* Update index.d.ts
2020-08-13 20:16:37 -04:00