Commit Graph

74589 Commits

Author SHA1 Message Date
Jack Bates
fe4505f585 Make notNeededPackages.json an object (#49492)
* Make notNeededPackages.json an object

* Update with latest notNeededPackages.json

Co-authored-by: Andrew Branch <andrew@wheream.io>
2021-03-22 15:38:30 -07:00
Dmitriy Shishkov
6f705f3ba9 add: type definition for random-gradient (#51889)
* add: type definition for random-gradient

* Wrapped all definitions into named module

* Revert "Wrapped all definitions into named module"

This reverts commit eafa7dcca217db9c0786f4057a87ca83dd5ff122.

* Update types/random-gradient/random-gradient-tests.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Update types/random-gradient/random-gradient-tests.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Update types/random-gradient/index.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Update types/random-gradient/index.d.ts

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>

* Fixed type definition tests

* Removed `esModuleInterop` from tsconfig.json

Co-authored-by: Piotr Błażejewicz (Peter Blazejewicz) <peterblazejewicz@users.noreply.github.com>
2021-03-22 15:28:28 -07:00
Mickael Lecoq
5a7997624a [react-native-calendars] add missing key today (#51534)
* add today key in locale config

* add test for today
2021-03-22 15:21:19 -07:00
dckorben
736f9798a1 🤖 Merge PR #51861 [google.visualization] Correct CalendarOptions / Add Test by @dckorben
* Fix CalendarOptions Nullable / Add Missing Prop

Add missing title property.

* Add Calendar Test

* Correct CalendarOptions.Calendar

* Fix DataTable variable name

* lint 1

* lint 2

* Remove ws from test

* Drop ws around ChartStrokeOpacity

* For the love of lint

* Additional Props / Types

Co-authored-by: martin-badin <martin.badin@gmail.com>

* Fix Bad merge

* Fix indent lint

Co-authored-by: martin-badin <martin.badin@gmail.com>
2021-03-22 13:17:45 -07:00
Nils Tijtgat
5d35b3e791 Fix EvaporateJS typing for customAuthMethod (#51528) 2021-03-22 10:52:28 -07:00
jguardino-workgrid
2474244b04 workgrid-toolbar updates 1.2 (#51905)
* Changes to workgrid-toolbar types

* Changes to workgrid-toolbar types

* Changes to workgrid-toolbar types

* Changes to workgrid-toolbar types

* Changes to workgrid-toolbar types

* Changes to workgrid-toolbar types: v.1.2
2021-03-22 10:51:51 -07:00
RedContritio
ac68fee8dc Add type definitions for react-native-md5 (#51902)
* Add type definitions for react-native-md5

* add newline to eof

* add version to dt-header
2021-03-22 10:51:08 -07:00
Ivan Stelmakh
e88652487b feat: extends HighlighterProps from TextProps (#51911) 2021-03-22 10:28:28 -07:00
Jan Liska
2c485cb681 🤖 Merge PR #51906 [forge-viewer] dataviz: added options for planar heatmap by @liskaj
* added missing types

* added options for planar heatmap

* fixed whitespace error
2021-03-22 07:09:04 -07:00
Landon Petzoldt
c606a64cf3 🤖 Merge PR #51647 [xrm] Missing definitions for existing interfaces by @clurdish
* Add saveMode to SaveOptions & update remarks

* Add addOnLoad/removeOnLoad definitions and demonstration

* Add missing LookupOptions properties & demonstration

* Add visibility interface to GridControl & demonstration

* Fix feedback from test/linter

* Move new tests to the bottom

* Fix linter complaints
2021-03-22 06:17:33 -07:00
Ruslan Krokhin
c5a5e6de04 🤖 Merge PR #51888 canvas-confetti: bump to 1.4 by @ulitcos 2021-03-22 01:45:13 -07:00
TS Bot
6a11b35749 🤖 Update CODEOWNERS 2021-03-22 08:37:46 +00:00
Peter Dekkers
17e5e59738 🤖 Merge PR #51680 [@types/draft-js] Add missing 'preserveSelectionOnBlur' prop to 'DraftEditorProps' by @PeterDekkers
* Add 'preserveSelectionOnBlur' to 'DraftEditorProps' (@types/draft-js)

* Update supported Draft.js version number

* Remove definition ownership

* Re-add definition ownership—I'm sure this time hehe
2021-03-21 20:05:03 -07:00
James Simon
21661f4a7b 🤖 Merge PR #51903 [@types/recordrtc] Fixed RecordRTC setRecordingDuration type and updated tests by @jsmon
* Fixed RecordRTC types and updated tests

* Made setRecordingDuration and onRecordingStopped paramters have stricter types

Co-authored-by: Kyℓe Hensel <k-yle@users.noreply.github.com>

* Updated tests

Co-authored-by: Kyℓe Hensel <k-yle@users.noreply.github.com>
2021-03-21 17:14:58 -07:00
saito tom
bca409da01 🤖 Merge PR #51895 [rails__actioncable] Fix createConsumer return type by @saito-tom
* [rails__actioncable] Add createConsumer test

The result type of createConsumer should be the same as the result type of new Consumer('url').
see 291a3d2ef2/actioncable/app/javascript/action_cable/index.js (L22-L24)

This test fails on the current type definition.
ERROR: 30:1  expect  TypeScript@4.3 expected type to be:
  Consumer
got:
  typeof Consumer

* [rails__actioncable] Fix createConsumer return type
2021-03-21 05:43:25 -07:00
Gabriel Lopes Veiga
3acd1003e2 🤖 Merge PR #51855 ioredis: add missing method "duplicate" of Cluster by @veigaribo 2021-03-21 02:57:46 -07:00
Unai
806ebd46eb 🤖 Merge PR #51846 [mongoose] Add missing overwriteDiscriminatorKey option by @Oniurain
* Add missing overwriteDiscriminatorKey option

* Add missing overwriteDiscriminatorKey option

* Improve test case
2021-03-21 01:52:10 -07:00
Ruud Verheijden
46b370ffd2 🤖 Merge PR #51884 Adding missing types to Animejs by @ruudverheijden
* Adding types Animatable and Animation that are used in AnimeCallback

* Adding simple tests for new Animatable and Animation types on callback function
2021-03-20 11:01:05 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
37820e8aa1 🤖 Merge PR #51881 update(croppie): missing options and v2.6 by @peterblazejewicz
- `minZoom`
- `maxZoom`
- version bump
- tests updated

https://github.com/Foliotek/Croppie/compare/v2.5.1...v2.6.4#

Thanks!
2021-03-20 09:48:36 -07:00
James May
867d6a5de5 🤖 Merge PR #51323 [xrm] Xrm.Utility: add missing members and docs by @fowl2
* [xrm] Xrm.Utility: add missing members and docs

* Xrm: add more tests

* resolve ci complaints

* more test fixes
2021-03-20 09:07:36 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
120f2607ad 🤖 Merge PR #51886 update(title): version bump by @peterblazejewicz
- update definition to match published content on NPM
- amend tests
- add maintainer

https://github.com/vercel/title

Thanks!
2021-03-20 08:03:15 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
1905168f80 🤖 Merge PR #51883 update(crawler): http2 option by @peterblazejewicz
https://github.com/bda-research/node-crawler#work-with-http2

Thanks!
2021-03-20 08:01:22 -07:00
Milan
37647cf01c 🤖 Merge PR #51813 Made Composites.newtonsCradle a static method by @milan090
* Made Composites.newtonsCradle a static method

* added tests
2021-03-20 02:44:54 -07:00
coyotte508
eb36d855fd [page] Add Context.hash (#51848) 2021-03-19 18:06:02 -07:00
ErnestMcBeard
abbc8bf7bc Adding type definition for Query.distinct (#51851)
Co-authored-by: Roman Austin Jones <roman.a.jones4@exxonmobil.com>
2021-03-19 18:05:01 -07:00
Jeff Clark
92c7066b0b [react-bootstrap-table-next] Fixed typing error in editor config options (#51847)
* Fixed typing error on editor property that prevented usage with editor plugin.

* Changed simple array [T] to Array<T> to please the CI checks.
2021-03-19 18:04:39 -07:00
Nick Gerleman
dd4bf52c0b [react-native] Typings for 0.64 (#51062)
* Typings for RN 0.64

This is a best effort update for typings changes that occured between 0.63 to 0.64. I couldn't find a foolproof way to diff flow definitions across verisons, so this was manually curated by looking through a diff of the libraries directory between 0.63-stable and 0.64-stable.

Changes:
- New ActionSheetIOSOptions
- Removal of Checkbox
- Remove ART, which was removed earlier, but more guts are gone in 0.64
- Addition of Pressable.focus() (windows for now)
- New Picker `value` typings
- onPressIn/onPressOut on TextInput
- New shape of ImageLoadEventData
- Additions to LayoutAnimationStatic.configureNext
- A couple missing LayoutAnimation types
- Add android_hyphenationFrequency
- Add force to TouchEvent, which is now optional, but was previously missing
- Fixup and add new platform constants

* Resolve PlatformConstants conflict

* Fix dependant package

* Remove reference to removed file

* Update tests
2021-03-19 18:03:44 -07:00
Gareth Jones
bae97ffbb3 fix(cheerio): add iterator (#51298) 2021-03-19 17:59:16 -07:00
Gita Vahdatinia
ffa9a3033d Add missing runner constants (#51858) 2021-03-19 17:58:26 -07:00
Jon Wolfe
aba6600fd5 [micro] Change object to {[s:string]: any} (#51867)
* [micro] Change `object` to `{[s:string]: any}` 

`object` now means a literal empty object

* patch-1: sytling fixes

Co-authored-by: Jon <jon.wolfe@pigknows.com>
2021-03-19 17:57:40 -07:00
haykam821
6310494a7b Add types for the totp-generator package (#51818) 2021-03-19 17:55:33 -07:00
Sang
eeb5659134 fix(babel__core): add InputSourceMap type def (#51485) 2021-03-19 17:54:19 -07:00
Jason Catel
42e45edc2b Add: inquirer-autocomplete-prompt types (#51856)
* Add: inquirer-autocomplete-prompt types

* generate files using dts; test
2021-03-19 17:54:00 -07:00
Khairul Azhar Kasmiran
7582881cde Add done property to _Option (#51486) 2021-03-19 17:43:58 -07:00
Misha Vorobeychikov
a606c7da28 Add multi-number-parse types (#51866)
* Add types for multi-number-parse library

* Fix comment in multi-number-parse types
2021-03-19 17:36:37 -07:00
Tomasz Pluskiewicz
8db438dd1c fix(hydra-box): missing Api class member (#51865)
* fix(hydra-box): missing Api class member

* fix: rdf-loaders-registry
2021-03-19 17:34:21 -07:00
Aaron Ross
8ac94e9216 feat: add types for superagent-retry-delay (#51870) 2021-03-19 17:30:07 -07:00
Piotr Błażejewicz (Peter Blazejewicz)
eb87f9b567 delete(csrf): remove package (#51871)
No longer required as of version 3.1.0:
https://github.com/pillarjs/csrf/releases/tag/3.1.0

Thanks!
2021-03-19 17:27:33 -07:00
Nathan Shively-Sanders
abbc0e6648 Fix supports-color type (#51872)
* Fix supports-color type

Should be a union, not an intersection.

* Update index.d.ts

* Correct supports-color tests

* Also update v3 supports-color tests

* Update v3 with v4's false fix
2021-03-19 16:12:58 -07:00
ExE Boss
f42b36a666 [nwsapi] Rename main interface type (#51801) 2021-03-19 15:24:47 -07:00
Christopher Suh
6aedd8b283 🤖 Merge PR #51822 Update azdata to 1.27.0 by @cssuh
* Update typings to ADS 1.27

* added test

* fix lint

* Trigger Build
2021-03-19 15:19:34 -07:00
Jean-Baptiste Zeller
8d88d4f3db 🤖 Merge PR #51769 feat(leaflet-freedraw): add types for the window.FreeDraw constructor by @Esurnir
* feat(leaflet-freedraw): add types for the window.FreeDraw constructor

The window.FreeDraw object is only initialized when window isn't undefined. So I augmented the
global Window interface. Also since this is a conditional behaviour while the library does add the
mode constants to its constructor, I only added those constant when accessing FreeDraw from
window.FreeDraw.

* test: remove unused import from test

* refactor(index.d.ts): merge the constants into the FreeDraw namespace

The package is completely unusable in regular node today so the paranoia on window being undefined
is unwaranted.

re peterblazejewicz reviews

* docs(leaflet-freedraw): add extra documentation on all types that were showing up without docs

Some part of the test file had no "comment" showing up on mouseover and this should fix this.

Co-authored-by: Jean-Baptiste Zeller <jbzeller@eudonet.com>
2021-03-19 14:55:52 -07:00
Anders Kaseorg
94a09bed27 🤖 Merge PR #51828 css-minimizer-webpack-plugin: Relax postcss dependency to caret range by @andersk
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-03-19 14:48:45 -07:00
Nathan Shively-Sanders
b692ee5989 Update blissfuljs for TS 4.3's DOM (#51792)
TS 4.3 removes a number of deprecated and poorly-supported types from
the DOM. Remove them from blissfuljs as well.
2021-03-19 10:14:13 -07:00
Nathan Shively-Sanders
45745c59dd Switch back to typescript nightly (#51863)
Now that the @link parsing bug has been reverted
2021-03-19 09:12:54 -07:00
Jan Liska
5dc72ac3c2 🤖 Merge PR #51859 [forge-viewer] update for version 7.39 by @liskaj
* added DefaultSettings

* added LightPresets

* added missing types

* parameter is optional

* fixed issue with tslint

* added missing type

* DataVisualization refactoring

* updated tests

* updated version number
2021-03-19 03:27:23 -07:00
vashkan
7ac510da51 🤖 Merge PR #51841 [@types/urijs] Added missing optional argument to URI.buildQuery() ... by @vashkan
Co-authored-by: vashkan <shahmatov@megaputer.ru>
2021-03-19 02:37:31 -07:00
Pepe Cano
3987f29ee1 🤖 Merge PR #51761 K6 0.31 by @ppcano
* k6: http.setResponseCallback & http.expectedStatuses

* k6: encoding module supports bytes type

* k6: `crypto module` renames function parameter

* k6: crypto module supports bytes type

* Fix encoding and crypto `ArrayBuffer` type

* k6: crypto secret allows `ArrayBuffer`

* k6: http.data supports ArrayBuffer

* k6: set version 0.31 and add Imiric as project maintainer

* k6: remove unnecesary `byte` type

* Update types/k6/index.d.ts

Co-authored-by: na-- <n@andreev.sh>

* k6: update `bytes` comment

Co-authored-by: na-- <n@andreev.sh>
2021-03-19 01:52:48 -07:00
chivesrs
d18461eba2 🤖 Merge PR #51857 [google.picker] Revamp google.picker typings, mostly to add types for the data object in the callback by @chivesrs
* Add self to type definition owners

* Run Prettier on the repo (no actual changes, all formatting)

* Prefer const over var

* Add the real string values for each enum, taken by console.log(google.picker.ViewId), etc

* Use the enum/class types instead of more loose types when possible

* Use string enums instead of consts, as these behave like string enums at runtime

* Use Feature enum for feature related functions

* Add view group typings, and reorder picker builder methods as same order in the docs

* Add minimal viable typings for the picker response object, better types in a future commit

* Add more enum types

* Add exhaustive typings for the response object

* Use DOM document for setDocument()

* Fix lint error with Array

* Add a bunch of tests copied from the documentation

* Fix a bunch of tslint issues

* Rename Result to ResponseObject
2021-03-18 23:25:39 -07:00
Nikitha Chettiar
e372646b14 🤖 Merge PR #51850 Microsoft Graph- Upgrade to 1.33 by @nikithauc
* Adding updates for version 1.20

* microsoftgraph updating for v 1.21

* Updating microsoft-graph version 1.22

* Version 1.23

* Upgrade to 1.24

* upgrade to version 1.25

* Upgrade to version 1.26

* Updating to version 1.27

* Update to 1.28

* Updating to version 1.29

* updating version 3.0.0

* Update to 1.30

* Update to version 1.31

* Update to 1.32

* Upgrade to version 1.33
2021-03-18 16:07:45 -07:00