Commit Graph

70041 Commits

Author SHA1 Message Date
VSCode
8ca68c45b8 VS Code 1.47.0 Extension API 2020-07-09 20:06:27 +00:00
Peter Wagenet
68523d9095
🤖 Merge PR #45978 [ember] @ember/object Correct arguments for Evented by @wagenet 2020-07-09 12:23:47 -07:00
Jayden Chan
2255772ff7
🤖 Merge PR #45966 [pg] Move application_name field from PoolConfig to ClientConfig by @jayden-chan 2020-07-09 12:11:59 -07:00
Piotr Monwid-Olechnowicz
ef5026e98d
🤖 Merge PR #45967 (@types/theme-ui): add highlight color by @hasparus
* (@types/theme-ui): add highlight color

* (@types/theme-ui): test colors
2020-07-09 08:22:30 -07:00
Krishna Kapadia
444d0c1530
🤖 Merge PR #45920 [@types/raygun4js] Export internal interfaces by @krishnaKapadia
* Feat: updated typings for custom timing event

* Fix: shortened typings to allow ci to pass

* Fix: linting errors

* Feat: exposed internal types

* Feat: added tests for new types

* Update index.d.ts
2020-07-08 16:39:11 -07:00
Eason Kang
1bc371109e
🤖 Merge PR #45787 Fix field defs for Document of forge-viewer by @yiskang 2020-07-08 15:22:50 -07:00
Eve Shum
cb01078884
🤖 Merge PR #45960 Sharedb: getSnapshotBulk second param should be a string array by @eveshum
* fix params for getSnapshotBulk'

* Add a test
2020-07-08 15:09:22 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
b5b627cf71
🤖 Merge PR #45742 fix(glider-js): add eventPropagate option by @peterblazejewicz
* fix(glider-js): add `eventPropagate` option

- missing `eventPropagate` option:
e0743bc3fc/README.md (L90)
This specific option is missin public facing documentation, see:
NickPiscitelli/Glider.js#111

/cc @martin-badin

Thanks!

* [pr] remove `propagateEvent` property as per review request

/cc @martin-badin
2020-07-08 14:11:54 -07:00
Tom Kent
bb2735dd73
[dwt] A major upgrade from version 15 to version 16 (#45907)
* remove old files before add new ones

* adding v16 definitions

* remove unnecessary file

* fixing parsing bug

* add license file

* fix error

* remove package.json

* no I in interface names

* more bug fixes

* fixing errors

* more errors

* remaining erros

* fix bug

* re submit

* fix test error

* fix test error

* change version number from 16.0 to 16.0.0 to match that of dwt

* must use major.minor for version, no patch version

* fix a wrong Enum
2020-07-08 13:00:24 -07:00
Mike Morearty
535948083a
prosemirror-commands: Add types Command and Keymap (#45836)
Previously, no types were specified for a Command or for a Keymap. This
meant that (a) in prosemirror-commands, the types for pcBaseKeymap,
macBaseKeymap, and baseKeymap were not very well specified, and (b) in
prosemirror-keymap, there was some duplication of types.
2020-07-08 15:05:50 -04:00
Nathan Shively-Sanders
816d93383e
Revert "refactor(node): Move Buffer definition to buffer.d.ts (#4… (#45956)
* Revert "refactor(node): Move `Buffer` definition to `buffer.d.ts` (#45845)"

This reverts commit a58ce42a02.

* put back reference to globals.d.ts in ts3.2
2020-07-08 10:42:00 -07:00
Eli Barzilay
ce234ea339
[recharts] Use lowercase .md suffix (#45951)
This is the only file in the whole DT repo with an uppercase name, and
I'm making it easier to have markdown edits based on a (case-sensitive)
suffix.
2020-07-08 12:40:23 -04:00
Nathan Shively-Sanders
6078bfee54
🤖 Merge PR #45953 Update fastify code in tests by @sandersn
It's now default-exported.
2020-07-08 09:31:07 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
ddc958e4e2
🤖 Merge PR #45746 feat(glider-js): friction-free selector type by @peterblazejewicz
* feat(glider-js): friction-free selector type

This is a proposal to change a `Selector` type detail.

If selector can allow direct results from querying the DOM for target
element, this would allow the friction free migration path for users of
`glider-js`. Otherwise there is an issue with non-nullable settings as
the DOM querying types return null. If someone just copy-and-paste
library README snips, these snippets won't compile without Selector type
that expect possible nulls.

/cc @martin-badin

Thanks!

* Update `Selector` type and usage`
2020-07-08 09:03:30 -07:00
Eli Barzilay
a6699c7c10 Remove stray .editorconfig
We're now enforcing a global style.
2020-07-08 10:52:50 -04:00
JG
a92d898478
[koa-cash] add typings for koa-cash v4.0 (#45930)
* [koa-cash] add typings for koa-cash v4.0

* [koa-cash] expose Options interface

Co-authored-by: Jakob Goebel <jakob.goebel@avenga.com>
2020-07-08 01:05:59 -07:00
hiroki
3e0007a3a8
🤖 Merge PR #45905 fix(cheerio): xml() to accept dom parameter by @privatenumber
* fix(cheerio): xml() to accept Cheerio parameter

* refactor(cheerio): used union type

* docs(cheerio): added name

* docs: removed trevorhreed
2020-07-07 21:07:19 -07:00
Michael Ness
201779301e
🤖 Merge PR #45893 [@types/underscore] Collection and Array Tests - Reduce and ReduceRight by @reubenrybnik
* Updating type definitions for reduce and reduceRight and adding tests.

* Adding defaults for V in memo iterators.

* Updating a few tests to test constant memos more and omitted memos less.

* Updating reduce and reduceRight undefined memo overloads to allow a different result type to be specified or inferred, adding undefined to the posible result of reduce calls, and adding tests around union-type results.

* Making a few test changes to better illustrate the ways that a union result can be specified when calling reduce with no memo.

* Rewriting the overloads of reduce and reduceRight that take an optional memo to take no memo since a memo that is explicitly provided as undefined will still be treated as the memo value to use instead of using the first item in the collection..

* Removing the undefined type from the result for overloads that take a memo since the result in such cases is the memo.

* Breaking up tests for multiple aliases by alias.
2020-07-07 14:57:46 -07:00
jameswilddev
7bd3a9ed10
Superfine amendments (#45540)
* Add superfine types.

* Add TSX coverage.

* Add missing "key" property.

* Superfine looks for a SVG element to start creating SVG elements.  This is now enforced through types.

* Fix lint.

* Fix tests using HTML tags in a SVG context.

* Allow empty or single child vnodes.

* Allow strings in JSX.

* Refactor types.

* Lint.
2020-07-07 14:04:25 -07:00
Nathan Shively-Sanders
f5eab352de
Update update-codeowners.js: switch to @definitelytyped (#45805)
* Update update-codeowners.js: switch to @definitelytyped

I forgot to update this when the rest of DT switch from types-publisher
to @definitelytyped.

* move new deps to devDeps

* remove extraneous comma

* Restrict workflow to DefinitelyTyped/DefinitelyTyped
2020-07-07 13:50:09 -07:00
ExE Boss
5fb4e509f0
fix(es‑abstract/helpers): Fix ES namespace argument type (#45326) 2020-07-07 13:23:25 -07:00
Jason Kwok
73872b70ac
[mem-fs-editor] Improved definition (#45508)
* [mem-fs-editor] Improved definition

* [mem-fs-editor] Improved tests

* [mem-fs-editor] Updated version number

Co-authored-by: Jason Kwok <JasonHK@users.noreply.github.com>
2020-07-07 12:21:04 -07:00
qxg
da25db9a7b
Removed intersectionWith (#45349) 2020-07-07 12:17:38 -07:00
Brady O'Connell
5a1cd665cd
Add placeholder types for includes function (#45370)
All of the placeholder typings could probably be added en masse, but I noticed these were missing in particular
2020-07-07 12:16:11 -07:00
Enix
ec1b93cf0b
Update react-grid-layout onDrop arguments (#45427) 2020-07-07 12:15:30 -07:00
Griffin Yourick
77cae57845
Update source-map-support UrlAndMap interface (#45456) 2020-07-07 12:15:11 -07:00
gentoo90
e115117b0f
[react-bootstrap-table-next] Allow to pass JSX.Element as *PageText option (#45916) 2020-07-07 12:11:36 -07:00
kenelm007
84e08dbd90
Add type definitions for nanoid-dictionary (#45918)
* Add type definitions for nanoid-dictionary

* Support use specific dictionary only

As per comment of peterblazejewicz https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45918

* Import types from files to avoid duplicate definitions
2020-07-07 12:11:17 -07:00
Jeroen Claassens
f09343c25f
refactor(mui-datatables): updated for v3.1.x (#45306)
* refactor(mui-datatables): updated for v3.1.x

* fix stuff
2020-07-07 12:10:01 -07:00
Sam Herrmann
3252bb429b
[geodesy] Fix decimal point type (#45747)
Before this commit, the Dp type (decimal point) was limiting values to 0,
2, and 4. These values are actually default values only, but geodesy
supports any number of decimal points.

See https://github.com/chrisveness/geodesy/issues/83
2020-07-07 12:08:03 -07:00
Ariel Weingarten
373578f2d8
Correct type of SymbolLayout 'text-max-width' (#45708)
- Add StyleFunction to the existing type union
2020-07-07 12:07:04 -07:00
Maximilian Münchow
7d42b549c6
Added doc strings and removed internal/duplicated entries (#45705)
* updated type signatures for client

* breaking up long lines

* added a test for httpResponse

* added missing semicolon

Co-authored-by: Maximilian Münchow <maximilian.muenchow@4players.de>
2020-07-07 12:06:25 -07:00
Deepak Kumar
8a1bfb1ec0
🤖 Merge PR #45885 d3-selection - key function in .data may return number as well by @kum-deepak
* Test cases to demonstrate `key` function in `.data` calls returning non `string` causes failure.

* Update definitions to allow `key` function in `.data` calls to return `number` apart from `string`.
2020-07-07 11:50:02 -07:00
Matthew Farley
d5800a35b0
Add an overload function declaration for R.pair (#45477)
A compiler error is encountered if only the first argument is supplied. This is not correct, since R.pair is curried.
2020-07-07 11:32:29 -07:00
Kyle Tsang
3b2503801a
[reactstrap]: Update types to 8.5 (#45691) 2020-07-07 11:27:55 -07:00
Ovidiu Pruteanu
7dc8fd8266
[lgtv2] Make payload optional for SpecializedSocket.send (#45251)
* [lgtv2] Make payload optional for SpecializedSocket.send

* Adjust test for pointer socket

Co-authored-by: Ovidiu Pruteanu <ovidiu@wmtek.com>
2020-07-07 11:25:47 -07:00
martin-badin
c4d306c658
[glider-js] Update static types (#45703)
* [glider] Update static types

* [glider-js] Update static types

Co-authored-by: Martin Badin <MBadin@gohealth.com>
2020-07-07 11:22:57 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
9b0c1891eb
update(worker-plugin): v4 update (#45674)
- `sharedWorker` option
- `worker` option
- `preserveTypeModule` option
- `workerType` option
- v4 bump without v3 creation as the api is being amended without
breaking existing usage I believe

https://github.com/GoogleChromeLabs/worker-plugin/compare/3.2.0...4.0.3

Thanks!
2020-07-07 11:19:16 -07:00
Arnaldo Badin
24e97c836d
added sendAnimation type and added sendContact options (#45303)
* added sendAnimation type

added sendAnimation type, you won't be able to use the function sendAnimation (it works) without the typing in TS

* added vcard option to sendContactOptions

better format for importing/exporting contacts

* add sendAnimation & sendContact(only vcard) tests

add sendAnimation func and sendContact(vcard option) tests

* remove trailing white spaces

remove trailing white spaces
2020-07-07 11:13:33 -07:00
Anton Shwarts
50dfda6e62
[types/sdp-transform] Add a missing field from 'origin' (#45299)
Co-authored-by: Anton Shwarts <kalter757@yandex.ru>
2020-07-07 11:12:19 -07:00
Dmitry Minkovsky
3e3dab7493
@types/weighted: exported default and corrected definitions (#45633)
This commit:

- Fixes one of the overloads of `select`, which is not generic, but
  actually picks a JS object key and therefore always returns a string.

- Replaces `Number` with `number`:
  https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#general-types

- Defines the default export, which is exported by 'weighted':
  d152a4622f/lib/weighted.js (L97)
2020-07-07 11:08:52 -07:00
Andy Katz
a956dfd56d
[draft-js] Allow a merged SelectionState to be passed to forceSelection (#45522)
* add override for merge on SelectionState

* prettier fix

* remove accidentally committed file
2020-07-07 11:08:04 -07:00
Conor Cussell
f1b6c1b820
Update types/react-native-auth0 to reflect new API (#45546)
* Add AuthorizeOptions to WebAuth.authorize arguments

* Update tests

* Update package header

* Remove patch version from header
2020-07-07 11:01:56 -07:00
Gustavo da Silva
0b6bebe4e5
[@types/mailgun-js] Fix mailgun-js type to add multiple data to mailing list (#45888)
* fix: Fix mailgun-js type to add multiple data to mailing list

* fix: Fixes array type
2020-07-07 10:58:29 -07:00
William Bonawentura
8d8dde6e9b
Optional user in GetPooledConnectionOptions (#45275)
User is optional when you get connection by tag
2020-07-07 10:57:39 -07:00
Maria Petrișor
2485c414a1
[chrome] Add chrome.enterprise.networkingAttributes and update chrome.platformKeys (#45683)
* Update chrome.enterprise.networkingAttributes and chrome.platformKeys

* Add since Chrome 85 comment

Co-authored-by: pokutuna <popopopopokutuna@gmail.com>

* Add API works only on Chrome OS comment

Co-authored-by: pokutuna <popopopopokutuna@gmail.com>

Co-authored-by: pokutuna <popopopopokutuna@gmail.com>
2020-07-07 10:52:14 -07:00
Brekk
d676227b87
Update index.d.ts (#45925)
Removing myself from contributors -- super noisy.
2020-07-07 10:46:13 -07:00
Greg Hill
50a53ad606
add types for @ledgerhq/hw-app-btc (#45928)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
2020-07-07 10:41:51 -07:00
Avi Vahl
39d287cc10
webpack: add missing MultiStats methods (#45929)
ref: https://github.com/webpack/webpack/blob/v4.43.0/lib/MultiStats.js
2020-07-07 10:33:26 -07:00
Florian Keller
120445b449
[sort-json] Add sort-json (#45932) 2020-07-07 10:26:07 -07:00