Commit Graph

70729 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
19512db954 delete ts3.3/ 2020-09-01 12:44:39 -07:00
Nathan Shively-Sanders
3ca7a91353 Put current version of function-bind in the root
Previously, the code that supports the oldest version of Typescript was in the root: 3.1 and below. Newer versions were in ts*/ subdirectories.

This PR puts the newest version in the root, and older versions -- before 3.3 in this case -- in ts*/ subdirectories. This is possible because all supported versions of the Typescript now understand the typesVersions property in package.json.

This PR needs a new version of DefinitelyTyped-tools and dtslint, which I will ship soon. It also needs to be brought up to date with master.
2020-09-01 09:54:20 -07:00
nikithauc
2a02c20372
🤖 Merge PR #47037 Microsoft-Graph Typings- Updates for 1.17 Version by @nikithauc
* microsoft graph update 1.16

* Adding tests

* Microsoft Graph 1.17 updates to index.d.ts

* Adding test cases

* Remove tslint changes
2020-08-25 17:23:06 -04:00
Ivan Siacho
c330293090
🤖 Merge PR #47039 Added new methods to TextValidator class by @ivansiach0
- Update AddValidationRule
2020-08-25 16:46:56 -04:00
Cameron Little
ab12b09c08
nova-editor: Various fixes after reviewing Emmet plugin (#46703)
* Update some new/bad types after reviewing emmet plugin

* Mark several event handlers as returning Disposable

I haven't exhaustively tested all of these, however I have spot checked
and think this is likely correct. I haven't found that event handlers on
LanguageClient return Disposable, and I also am assuming things that
conform to Disposable should be directly disposed.

* update documentation link

* Update index.d.ts

* tests

* Add options arg to issue assistant registration

* Use es7 insetad of es2015

* make path.join more usable

* Make TreeItem properties settable

* Add color to TreeItem (beta 18)
2020-08-25 13:38:14 -04:00
moander
46119218e8
hapi__hapi: request params any instead of string (#46792) 2020-08-25 13:31:53 -04:00
Shenghan Gao
1f0022fef1
use joi instead of hapi/joi as dependency (#46811)
* use joi instead of hapi/joi as dependency

* fix tests

* remove package.json change
2020-08-25 13:29:25 -04:00
Piotr Błażejewicz (Peter Blazejewicz)
a25265b076
feat(@elastic/maki): new type definition (#46806)
Definition files for @elastic/maki icons:

- definition file
- tests

https://github.com/elastic/maki
https://www.npmjs.com/package/@elastic/maki

Thanks!
2020-08-25 13:26:45 -04:00
Kannan Goundan
1f91c7f854
🤖 Merge PR #46915 [superagent] Response has both 'headers' and 'header' by @cakoose
The SuperAgent intro doc uses 'headers': https://visionmedia.github.io/superagent/#request-basics

I tested with superagent v3.x-6.x and both '.header' and '.headers' have
the same value:

```
const superagent = require('superagent');

superagent.get('https://www.google.com').then(res => {
    console.log('header', res.header);
    console.log('headers', res.headers);
});
```
2020-08-25 07:05:27 -04:00
Danilo Bürger
53b42c3002
[react-native] Bump ts version to 3.0 (#47013) 2020-08-25 12:47:55 +02:00
miyanokomiya
6e927c63f7
🤖 Merge PR #46814 [@types/react-native-canvas] Fix case of CanvasRenderingContext2D#lineCap by @miyanokomiya 2020-08-25 06:19:33 -04:00
Dmitry Demensky
cd6b981f08
🤖 Merge PR #46925 [twitch-ext] Migrate to namespaces by @demensky
* [twitch-ext] Replace interface Window to namespace Twitch.ext

* [twitch-ext] Replace actions to namespace

* [twitch-ext] Replace configuration to namespace

* [twitch-ext] Replace bits to namespace

* [twitch-ext] Replace features to namespace

* [twitch-ext] Add to "Definitions by"
2020-08-25 04:04:33 -04:00
kid-icarus
23a1fd68ce
Update aria-relevant type. (#47012)
Update the aria-relevant type to include "additions removals" as the existing type is inaccurate. The actual type is a space delimited list of keywords: "additions", "removals", "text",  or "all".
2020-08-25 06:52:33 +01:00
Pete Gonzalez
e18788ab97
Add types for heft-jest package (#46942)
* Add types for heft-jest package

* Request TypeScript Version: 3.5

* Add tslint.json

* Add Ian as an additional owner
2020-08-24 15:30:00 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
51ff4a7f33
🤖 Merge PR #46991 feat(jsonminify): expand module definition by @peterblazejewicz
- augment `JSON.minify` method
- amend tests for CMJ/globla scripts
- mantainer added

https://github.com/fkei/JSON.minify/blob/master/minify.json.js#L83-L92

Thanks!
2020-08-24 15:48:18 -04:00
lkuechler
0ea9a3ec80
🤖 Merge PR #46999 markdown-to-jsx: add definition for namedCodesToUnicode and disableParsingRawHTML by @lkuechler 2020-08-24 15:06:58 -04:00
Timothy Trowbridge
0065970ce9
🤖 Merge PR #47003 [frappe/gantt] added language option by @TempleClause
* added language option

* added language option to the test file

* change to single quote

Co-authored-by: Timothy Trowbridge <timothy.trowbridge@neolution.ch>
2020-08-24 14:26:46 -04:00
Nathan Shively-Sanders
b0e1db17d1
Make ts3.1 the default (#46954) 2020-08-24 10:16:09 -07:00
Nathan Shively-Sanders
dbc59a84fb
Make ts3.1 the default for lodash (#46959)
* Make ts3.1 the default

* trim/reorder tsconfig.json
2020-08-24 10:15:46 -07:00
David Anson
15da950801
Remove (outdated) types for markdownlint (bundled as of version 0.18.0). (#46826) 2020-08-24 09:53:44 -07:00
Orgad Shaneh
be3d1e8ab1
🤖 Merge PR #47006 ndjson: Update definitions to 2.0 by @orgads
serialize was removed. It was an alias to stringify anyway.
2020-08-24 09:47:53 -04:00
Payton Swick
bf9cba0ad4
🤖 Merge PR #46969 [@wordpress/data] Fix return type of registerStore by @sirbrillig
* Fix return type of registerStore

Per the code itself, `registerStore` returns the store object that was
created:
da41e80da8/packages/data/src/registry.js (L210-L218)

This also matches the documentation:
https://developer.wordpress.org/block-editor/packages/packages-data/#highlighter_187506

* Add ExpectType to tests for registerStore

* Make sure test includes action
2020-08-24 09:03:27 -04:00
Danilo Bürger
b024da8fb5
[react-native] Updated TextInputState (#46926)
* [react-native] Updated TextInputState

* Apply suggestions from code review

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>

Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
2020-08-24 13:25:21 +02:00
Moritz Hedtke
c92a3a1760
Specific types for react-relay useMutation updater (#46994) 2020-08-24 13:16:36 +02:00
Jack Bates
d9ed796651
🤖 Merge PR #46727 [blueimp-load-image] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:42 -04:00
Jack Bates
715f3f99c7
🤖 Merge PR #46728 [business-rules-engine] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:38 -04:00
Jack Bates
05c1ce8839
🤖 Merge PR #46730 [commander-remaining-args] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:33 -04:00
Jack Bates
e8459bf0f6
🤖 Merge PR #46731 [di] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:29 -04:00
Jack Bates
1173f8c41a
🤖 Merge PR #46733 [domurl] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:25 -04:00
Jack Bates
0c3bee0788
🤖 Merge PR #46736 [ent] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:20 -04:00
Jack Bates
96aa6cd19c
🤖 Merge PR #46739 [find-root] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:16 -04:00
Jack Bates
a4909deec1
🤖 Merge PR #46743 [ghauth] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:11 -04:00
Jack Bates
80a5c7805a
🤖 Merge PR #46749 [java] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:06 -04:00
Jack Bates
ed583fd9fc
🤖 Merge PR #46755 [node-dijkstra] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:11:02 -04:00
Jack Bates
c8ad3f03f6
🤖 Merge PR #46757 [pg-escape] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:57 -04:00
Jack Bates
59dc475859
🤖 Merge PR #46760 [rasha] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:53 -04:00
Jack Bates
7ca80872f6
🤖 Merge PR #46762 [rename] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:48 -04:00
Jack Bates
a3b80a1aee
🤖 Merge PR #46763 [sanctuary] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:44 -04:00
Jack Bates
68e0fcf78a
🤖 Merge PR #46767 [sumo-logger] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:40 -04:00
Jack Bates
6baf69b476
🤖 Merge PR #46769 [system-logger] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:35 -04:00
Jack Bates
2376239e26
🤖 Merge PR #46774 [vfile-location] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:30 -04:00
Jack Bates
42b6b3d384
🤖 Merge PR #46775 [xmlserializer] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-23 00:10:26 -04:00
Jack Bates
87fba85e4b
🤖 Merge PR #46761 [rc-easyui] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-22 22:53:29 -04:00
Jack Bates
f3134f4897
🤖 Merge PR #46766 [source-map-support] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-22 17:14:59 -04:00
Jack Bates
c7743e2f48
🤖 Merge PR #46758 [pg-format] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-22 17:14:54 -04:00
Jack Bates
298cd7b076
🤖 Merge PR #46747 [hashids] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-22 17:14:44 -04:00
Jack Bates
953ac1a032
🤖 Merge PR #46732 [dom-to-image] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-22 17:14:39 -04:00
Jack Bates
c601d7d5c8
🤖 Merge PR #46726 [authenticator] Remove superfluous /// <reference types="node" /> by @jablko 2020-08-22 17:14:34 -04:00
Alexander Weiss
a2aa0406e7
🤖 Merge PR #46918 bull: use the provided Job data type for job.update by @alexanderweiss 2020-08-22 05:59:26 -04:00
Sebastian Busch
0e1560485f
🤖 Merge PR #46226 react-big-calendar: improve types, fix withDragAndDrop, fix tests by @sbusch
* fix types for other components (compare with event and eventWrapper, they just have no special props)

* also define props for view-specific event component override

* fix withDragAndDrop type definition. disable automatic exports.

* any is unnecessary here

* fix tests

* revert change to ViewsProps due to @eps1lon comments / https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43215

* change DragAndDropCalendarProps from type to interface, as suggested by @DanielRosenwasser

* 🤖 Merge PR #46905 Package Proclaim: Make msg parameter optional for all assertions by @JakeChampion

* Make msg param optional for assertions in proclaim

* Mark message and operator params of fail as optional

* Update tests to check the optional parameters are indeed optionals

* Make the commonjs export of proclaim point to proclaim.ok function

* Add test to prove proclaim.ok points to proclaim

* Properly describe props for (custom) View, with new test with wrong prop (expecting error). Pass generic types for event and resource at more places (and fix test).

Plus: turned off automatic exports for index.d.ts aswell due to own Omit (added to keep compat with older TS versions).

* typo

* Revert strict views (with their disfunctional tests), but retain ViewProps for optional use (guarded with a test)

Strict views cannot expressed du to current limitaion in TypeScript, see <https://github.com/Microsoft/TypeScript/issues/13195>

Co-authored-by: Jake Champion <me@jakechampion.name>
2020-08-22 05:16:56 -04:00