Commit Graph
66275 Commits
Author SHA1 Message Date
Mathias Lykkegaard LorenzenandSheetal Nandi f26f5b69e2 updates to titanium (#40454)
* fix for alloy typings.

* fix for typings.

* fix for linting issues.

* removed redundant keyword.

* fix for typo.

* losened typings for alloy.

* added args.

* added missing API.

* removal of properties that are better defined manually.

* added global index accessor.

* fix review comments.
2019-11-19 11:10:32 -08:00
GeorgeandSheetal Nandi f4e58f2e65 Improve node module types (#40456)
Add missing APIs on require.resolve from createRequire.
2019-11-19 11:05:03 -08:00
Nathan Shively-SandersandGitHub 0e9f7eb3a2 Rename UNUSED_FILES.txt to OTHER_FILES.txt (#40479)
* Rename UNUSED_FILES.txt to OTHER_FILES.txt

These aren't, strictly speaking, always unused. They're just files that
aren't fully tested as part of the compilation.

Part of microsoft/types-publisher#708

* Remove UNUSED_FILES, update cldrjs
2019-11-18 16:21:50 -08:00
Jon SurrellandSheetal Nandi b9fd66a140 @wordpress/data: Add persist to registerStore (#40463)
* Add `persist` option to `registerStore` type.

* Fix lint

* Add self to authors

* Document persist
2019-11-18 15:27:23 -08:00
Marcos JuniorandSheetal Nandi f1ff31ab67 First version of reactabular-table typings. (#40468) 2019-11-18 14:28:42 -08:00
winston01andSheetal Nandi eeb01827b7 Add node-expat (#40440) 2019-11-18 14:26:36 -08:00
Marcos JuniorandSheetal Nandi 615927bbe6 First commit for table-resolver typings (#40474) 2019-11-18 14:24:31 -08:00
Ray NicholusandSheetal Nandi 79f6b23d59 [chart.js] Missing legend.align type (#40465)
* Chart.js legend align type

Missing the `align` prop on ChartLegendOptions for Chart.js

* add to "Definitions by:"

* obey the lint

* update tests

* undo unnecessary changes
2019-11-18 14:22:33 -08:00
Linus UnnebäckandSheetal Nandi db08b832fa semver-compare: fix typings of semverCompare (#40300) 2019-11-18 14:15:17 -08:00
Simen BekkhusandSheetal Nandi ef8b83ff27 remove fsevents (#40281) 2019-11-18 14:15:07 -08:00
Alexander TandSheetal Nandi 16c037ba04 rsmq: Provides its own types (#39538)
* rsmq: Provides its own types

* use @types/rsmq in @types/rsmq-worker
2019-11-18 14:14:09 -08:00
Tom SpencerandSheetal Nandi aa52de569b Updated express-session types (#40314)
- Allow `secure: 'auto'` cookie setting
- Restrict `sameSite` cookie setting to boolean or valid string value
  according to (draft) spec
2019-11-18 14:13:48 -08:00
Ihor LevchenkoandSheetal Nandi 779fdbf9df Fixed size type (#40318)
Amended type of `size` field from `string` to `number`
2019-11-18 14:12:41 -08:00
Rogier SchoutenandSheetal Nandi acdcadfcbe add Certificate#getAttribute() (#40304)
* add Certificate#getAttribute()

* Add extensions to Attribute interface.
2019-11-18 14:11:01 -08:00
rafw87andSheetal Nandi ad4f800d51 jaeger-client: add injector, extractor and codecs (#40323)
Signed-off-by: Rafal Witczak <rafal.witczak@relayr.io>
2019-11-18 14:06:57 -08:00
deisshandSheetal Nandi 9e76bef057 Update @types/marked (#40329)
* Update index.d.ts

* Update index.d.ts
2019-11-18 14:02:09 -08:00
Nick HehrandSheetal Nandi 308830dc2d fix: 'style' function returns a function, not an object (#40338) 2019-11-18 13:54:00 -08:00
jack tillyandSheetal Nandi 4257a40409 [react-burger-menu] Updated props to match react-burger-menu 2.6.11 (#40339)
* Added noTransition prop type as it was a part of version 2.6.11

* Allowing disableOverlayClick to be a function. This has been allowed within the component since version 2.1.10

* Bumped version of react-burger-menu in header

* Removed patch version
2019-11-18 13:51:49 -08:00
Alexander TandSheetal Nandi ada8420cd1 vexdb: Provides its own types (#39561) 2019-11-18 13:50:53 -08:00
Florian KellerandSheetal Nandi e192b28544 [spark-md5] Export State interface (#40350) 2019-11-18 13:50:28 -08:00
WenJun ChiandSheetal Nandi f149f60a57 add type definition file for node-observer (#40450)
* add type definition file for node-observer

* remove unnecessary comment in index.d.ts

* fix test errors

* fix test errors
2019-11-18 13:48:27 -08:00
Piotr RoszatyckiandSheetal Nandi 5cc9d512c6 bunyan-format: reverted back to old syntax (#40455)
* bunyan-format: reverted back to old syntax

* bunyan-format: tslint:disable-next-line
2019-11-18 13:45:41 -08:00
Paulo Henrique CuchiandSheetal Nandi 4962164b76 [ramda] Fix R.head & R.last return types (#40254) 2019-11-18 13:36:33 -08:00
Gaëtan MaisseandSheetal Nandi e6be2d46e4 [storybook__addon-info] Update types to match 5.2 (#40270)
* [storybook__addon-info]

 - Use types directly from `Storybook` repo as it is now written in TS
 - Update types to match version 5.2 of the addon and of Storybook (as they have to have the same version)

* [storybook__addon-info] make tests more realistic

Define React simple component and use them to have function call that match the ones done when really using the lib
2019-11-18 13:36:05 -08:00
Pascal CorpetandSheetal Nandi eab1a0860a [react-share] Allow callback assigned to beforeOnClick not to return anything. (#40406) 2019-11-18 13:35:29 -08:00
Michael AdamsandSheetal Nandi 8ce433ef01 [plotly.js] - add types for waterfall chart (#40466) 2019-11-18 12:54:39 -08:00
Jon SurrellandSheetal Nandi 6eeacad386 @wordpress/block-editor: Add some settings to BlockEditorProvider (#40462)
* Include EditorBlockSettings in provider settings

* Add tests
2019-11-18 12:54:25 -08:00
Divyun Raje VaidandSheetal Nandi cd211d24c5 feat(pubnub): adds listener for message actions (#40437)
also adds the reconnect method
2019-11-18 12:46:30 -08:00
8fa67cd896 [node] ensure compatiblity between http.request and url.parse (#40430)
* [node] ensure compatiblity between http.request and url.parse

Ensure that output of url.parse() fits into http.request() as
indicated at https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_http_request_url_options_callback

* fix typo

Co-Authored-By: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
2019-11-18 12:45:00 -08:00
dckorbenandSheetal Nandi 56faec0579 [@types/google.visualization] Generalized ChartTrendlineOptions, Various Enums [WIP] (#40306)
* All charts should accept DataTable | DataView

* DataView constructor should take DT | DV union

* Add missing fill color

* fix type and parameter name blending

* Add missing test? func to DataTableCellFilter

This property combines with min/max and/or value filtering if present.

https://developers.google.com/chart/interactive/docs/reference#DataTable_getFilteredRows

* fix id?: type

* Fix wrong return type

* Replace comment with enum

* selectionMode enum

* Add ChartSeriesOptions for Line,Scatter

Used for several XY based Charts. Others need specific series options.

* Revert Scatter LineChartSeriesOptions

* Add base for SeriesOptions

* backgroundColor strongly typed

* Change backgroundColor to ChartFill

* Re-Unify ChartStroke and ChartFill

Appears this is the correct behavior that should be suggested in IDE.

* ChartStrokeFill

* ScatterChart changes

Bringing ScatterChart up to LineChart detail

* histo orientation enum

* ChartOrientation to Common

* Reorder functions

* Formatting

* Formatting 2

* curveType enum
2019-11-18 12:44:41 -08:00
Ayoub OudmaneandSheetal Nandi 8c98ca31a7 Update index.d.ts (#40336) 2019-11-18 12:41:34 -08:00
Yu-Chieh ChenandSheetal Nandi 23c25e5846 fix(slate): add hasQuery and hasCommand (#40290)
* fix(slate): add hasQuery and hasCommand

* fix(slate-react): add hasQuery and hasCommand
2019-11-18 12:41:15 -08:00
ProudustandSheetal Nandi 5bfe4a8d28 Add Protection#removeEditors(User[]) (#31273) (#40317) 2019-11-18 12:40:22 -08:00
mtgtoandSheetal Nandi 2d9ec7248f google-apps-script: Fix XmlService Element interface (#32614) (#40003) 2019-11-18 12:39:30 -08:00
Ryan RouleauandSheetal Nandi 79526eb1d4 Allow number input in getDuration() in apicache (#40431)
* Allow number input in getDuration()

The library allows a string like `1 minute` or a simple number representing ms.  This change allows the use of a number of ms in addition to a string.

See:
https://github.com/kwhitley/apicache/blob/master/src/apicache.js#L371

* Update index.d.ts
2019-11-18 12:39:02 -08:00
Munif TanjimandSheetal Nandi 3d60af8fb2 [validator]: update for validator@12.0.0 (#40192)
* [validator]: update for validator@12.0.0

* update tsconfig.json

* fix dependents: sequelize

* tweak dependents: sequelize
2019-11-18 12:38:42 -08:00
ForzoomandSheetal Nandi 1011b21241 feat: add wx.openAddress / window.__wxjs_is_wkwebview (#40436)
* feat: add wx.openAddress / window.__wxjs_is_wkwebview

* add Definitions by
2019-11-18 12:31:54 -08:00
Eric SwannandSheetal Nandi 419a2fb944 Node-Geocoder: Added StateCode to Entry interface (#40400)
* Added StateCode to Entry interface

* reverted no-emit flag in tsconfig
2019-11-18 12:31:08 -08:00
Owen HallandSheetal Nandi 81821c1ff9 [underscore] Fixes sortBy on chained array wrapper (#40417)
* underscore - Fix an issue where calling sortBy on a chained wrapper around Z[] claimed to return a Z.

e.g. _.chain([1, 2, 3]).sortBy(x => -x).value() would claim to be of type number, not number[].

* underscore - Ensure length property is present on value of calling sortBy on chained, wrapped array.

* underscore - Be more explicit that sortBy returns an array.

That's its implementation behaviour, even if not provided with an array to begin with.

* underscore - Revert unused generic type.
2019-11-18 12:30:04 -08:00
Oliver Joseph AshandSheetal Nandi 1111ada737 Fix return types (#40448) 2019-11-18 12:27:22 -08:00
Pascal CorpetandSheetal Nandi 202ea04fc1 [jspdf] Fix setting colors using an HTML color string. (#40405) 2019-11-18 12:23:49 -08:00
Andrew MarcuseandSheetal Nandi 2296bc56ab [@types/koa-views] Add missing autoRender flag to opts (#40458) 2019-11-18 12:22:00 -08:00
NiklasandSheetal Nandi 4def36b891 [@types/stripe]: SetupIntentPaymentMethodType allow 'sepa_debit' (#40453)
As shown in https://stripe.com/docs/payments/sepa-debit-setup-intents 'sepa_debit' is a valid SetupIntentPaymentMethodType.
Additionally the example code shown here https://stripe.com/docs/api/setup_intents/create?lang=node does not compile if you use 'sepa_debit' as part of `payment_method_types`.
2019-11-18 12:21:00 -08:00
mumpoandSheetal Nandi 562b19ed49 [googlepay] Add missing fields in TransactionInfo (#40460)
* Add missing fields in googlepay's TransactionInfo

* Test new fields in googlepay's TransactionInfo
2019-11-18 12:20:35 -08:00
BradleyHillandSheetal Nandi edcdbb5a2b Lots of additional apis/props. (#40459)
* Lots of additional apis/props. Trying to reconcile all the places with have to downcast to 'any'. Some formatting. Lots are private but as wise person once argued...should be no private APIs in library.

* Lots of additional apis/props. Missed some return types.
2019-11-18 12:20:16 -08:00
Jon SurrellandSheetal Nandi 9d017eba47 @wordpress/components: Add Popover.Slot type (#40461)
* Add Popover.Slot to Popover type

* Add self to authors
2019-11-18 12:18:23 -08:00
Sergey BakulinandSheetal Nandi edc6059c48 fix: allow to specify return types (#40449) 2019-11-18 12:18:10 -08:00
bjolucandSheetal Nandi ede0512c20 [qrcode.react] Support imageSettings and passed-through props (#40447)
* update and enhance qrcode.react types

* update qrcode.react version in header

* remove patch version
2019-11-18 12:17:33 -08:00
Alexander TandNathan Shively-Sanders 134bb19cf8 next-redux-wrapper: Provides its own types (#39478)
* next-redux-wrapper: Provides its own types

* use @types/next-redux-wrapper in next-redux-saga

* fix CI error related to dependencies resolutions
2019-11-18 08:36:25 -08:00
Felix HausandJohn Reilly cdf01cf33d [webpack] Updates definitions for Chunk and Module (#40106)
* [webpack] Updates definitions for Chunk and Module* Updates definitions for webpack.compilation.Chunk* Adds definitions for webpack.compilation.Module

* [webpack] Bumps version number
2019-11-16 19:31:29 +00:00