Commit Graph
68535 Commits
Author SHA1 Message Date
owcs-solx 3ef8e1ec49 Fix the signature for onSync for @types/workbox-background-sync (#43950)
* Fix incorrect onSync type

The type for onSync is incorrect. It should contain an argument containing the `queue` property.

From the documentation for `workbox-background-sync:4.3.0`:

```
   * @param {Function} [options.onSync] A function that gets invoked whenever
   *     the 'sync' event fires. The function is invoked with an object
   *     containing the `queue` property (referencing this instance), and you
   *     can use the callback to customize the replay behavior of the queue.
   *     When not set the `replayRequests()` method is called.
   *     Note: if the replay fails after a sync event, make sure you throw an
   *     error, so the browser knows to retry the sync event later.
```

* Extract callback as a new type

Update definition in accordance to suggested changes by @JasonHK.

For consistency sake, this is identical to https://github.com/GoogleChrome/workbox/blob/master/packages/workbox-background-sync/src/Queue.ts.

* Fix test failures

* Update as per suggestions by @JasonHK
2020-04-17 14:10:08 -07:00
Jonathan Stewmon 9f76d795b2 fix(node): backport stream.finished options since v10 (#43959) 2020-04-17 14:08:58 -07:00
Simon Schick 652078fa60 feat(node): v13.13 (#43933) 2020-04-17 14:07:30 -07:00
Simon Schick f7e28122e5 chore(node): mark object values as undefine-able (#43931) 2020-04-17 14:05:14 -07:00
Maxim Mazurok 957cbafa10 automatic gapi.client.sheets update @ Fri, 17 Apr 2020 20:16:28 GMT (#43943) 2020-04-17 13:52:22 -07:00
Maurice de Beijer 94e11e35a2 Same type defaults for StringSchemaConstructor and StringSchema (#43951) 2020-04-17 13:51:28 -07:00
Jojoshua b6494480c5 Fixes from documentation tabulator-tables 4.6.1 (#43978)
* Fixes from documentation tabulator-tables 4.6.1

* update virtualDomBuffer

* don't include patch version
2020-04-17 13:47:44 -07:00
Oliver Emery a51edec1b4 fix(multer): re-add stream property to File interface (#43988) 2020-04-17 13:46:36 -07:00
TypeScript BotandTypeScript Bot 57e89ad469 Update CODEOWNERS (#43992)
Co-authored-by: TypeScript Bot <types@microsoft.com>
2020-04-17 09:46:25 -07:00
JimmyandJimmy Tu abe7571daf [angular-route] Add support for IRouteProvider eagerInstantiationEnabled (#43947)
* add angular-route's eagerInstantiationEnabled

* fix trailing spaces

* add angular-route eagerInstantiationEnabled tests

Co-authored-by: Jimmy Tu <jimmytu@microsoft.com>
2020-04-16 19:26:22 -07:00
WrinkleJ d100a7141e react-virtualized: define types for onRowsRendered props in List (#43972)
* [react-virtualized] define types for onRowsRendered props in List

* rename type onRowsRenderedParams -> RenderedRows

* fix type name

* reuse existing type

* fix OverscanIndices
2020-04-16 19:25:57 -07:00
AlCalzone 17aaf05a60 [ioBroker] getForeignObjectsAsync always returns a Record (#43958)
* [iobroker] setState methods accept null

* [iobroker] getForeignObjectsAsync always returns a Record
2020-04-16 19:24:32 -07:00
AlCalzone 7185983ecd [iobroker] setState methods accept null (#43957) 2020-04-16 19:24:04 -07:00
Emmanuel Haguet 4abddd4264 Fix #43740: [istanbul-lib-source-maps] transformCoverage return a promise (#43926) 2020-04-16 18:41:01 -07:00
syffsandJean-Raphaël Matte 4ea5294feb [@types/pdfmake] table layout & widths errors #43758 (#43794)
* fix(pdfmake): table layout & widths errors #43758

* test(pdfmake): tableLayouts is an object

* fix(pdfmake): tableLayouts contains CustomTableLayouts

* fix(pdfmake): restricting table.widths string value to 'auto' & '*'

* prettier

* test BufferOptions and CustomTableLayout

* Update vfs and tableLayouts types

* Add test for vfs & layout dictionary

Co-authored-by: Jean-Raphaël Matte <35611957+jeralm@users.noreply.github.com>
2020-04-16 18:40:00 -07:00
Kyle AlbertandKyle Albert c1ca3958d2 [carbon-components-react] Update types to 7.10.3 (partial) (#43925)
* Update Accordion.

* Update Breadcrumb.

* Accordion: inherit html ul attrs.

* CheckBox Skeleton.

* Update Copy.

* Update CodeSnippet.

* Update ComposedModal.

* Update ContentSwitcher.

* Update CopyButton.

* Update DataTableSkeleton.

* Update DatePicker.

* Update DatePickerInput.

* Update ListBox.

* Update Dropdown.

* Add ErrorBoundary.

* Update FileUploader.

* Update FormLabel.

* Update Icon.

* Update InlineCheckbox.

* Update InlineLoading.

* Update Link.

* Update Loading.

* Update Modal.

* Update ModalWrapper.

* Update MultiSelect.

* Update Notification.

* Update NumberInput.

* Update OverflowMenu.

* Update Pagination.

* Update ProgressIndicator.

* Update RadioButton.

* Update RadioButtoGroup.

* Update RadioTile.

* Update Search.

* Update SearchLayoutButton.

* Update Select.

* Update SelectItem.

* Update Slider.

* Update Switch.

* Update Tab.

* Update Tabs.

* Update Tab. Update Tests.

* Update TextArea.

* Update TextInput.

* Update Tile.

* Update ToggleSkeleton.

* Update ToggleSmall.

* Update Toolbar.

* Update Tooltip.

* Update Toolbar and ToolbarSearch deprecation.

* Update TooltipDefinition.

* Update TooltipIcon.

* Update ComboBox.

* Update StructuredList.

* Fix error.

* Fix dtslint errors.

* Fix dtslint errors.

* ComboBox seems to have problems with undefined and controlled state so adding null here because it seems to fix my issue.

Co-authored-by: Kyle Albert <kyle.albert@us.ibm.com>
2020-04-16 18:38:20 -07:00
Sanders DeNardiandSanders DeNardi 5f0c754abc Add OkPacket interface for inserts, updates, and deletes (#43938)
* add OkPacket interface for inserts, updates, and deletes

* revert OkPacket member type, complete fields on OkPacket interface

Co-authored-by: Sanders DeNardi <sdenardi@summusglobal.com>
2020-04-16 16:42:24 -07:00
Kulshekhar Kabra bf1af1a78f Fix the signature for logInWith in types for @types/parse (#43949)
* Fix the signature for logInWith

Also brings it in line with the rest of the related method signatures

* Fix the signature for `logInWith` in the 3.7+ defn
2020-04-16 16:41:47 -07:00
Jessica Blizzard e0ca224942 Plotly.js: Add new/missing event 'plotly_relayouting' (#43961) 2020-04-16 16:40:28 -07:00
Jorge Barnaby 1e9f7b83d0 [@types/pino-http] Add missing getPath to autoLoggingOptions (#43948)
* Add missing getPath to autoLoggingOptions

* Update pino-http-tests.ts

* Update index.d.ts

* Updates
2020-04-16 16:39:32 -07:00
Weslen do Nascimento 98d8f8e220 [ffmpeg-concat] Create type definition (#43945)
* Create ffmpeg-concat type definition

* Export syntax

* Transition.params is optional
2020-04-16 16:14:18 -07:00
Attila Gazso 3ce60aa3be Fixed spelling of recid in secp256k1 (#43838)
* Update index.d.ts

* secp256k1: fixed spelling and added test

* secp256k1: fixed missing semicolon in test

* Empty commit to retrigger CI
2020-04-16 14:31:35 -07:00
Alex Jerabek 22e6c701e7 [office-js, office-js-preview] Adding a link to the Word search options details page (#43941)
* Removing prompt verbage from selection binding options

* Adding a link to the search options article
2020-04-16 10:00:14 -07:00
Pierre-Marc Airoldi 0ce56741d3 add definition for prosemirror test helpers (#43924) 2020-04-15 22:31:21 -07:00
Marcos Augusto c1d4e2f36d refactor: barWidth and barMaxWidth can be string (#43946)
- adding barMinWidth to bar.d.ts
2020-04-15 22:30:37 -07:00
Nathan Shively-Sanders 421fcadecf Update jest tests for pretty-format@25.3 (#43940) 2020-04-15 22:30:10 -07:00
Ian Sanders 5f1f721c53 change draft-js ariaLabelledBy type to string (#43815) 2020-04-15 22:29:04 -07:00
Julien Dufresne 163fceac61 [@types/auth0] Added missing types to AuthenticationClient (clientCredentialsGrant, passwordGrant) and ManagementClient (getPermissionsInRole) (#43810) 2020-04-15 22:13:12 -07:00
Steve c28ede7752 Revert "Updated index.d.ts for akumina-core project (#43690)" (#43804)
This reverts commit 03713294ed.
2020-04-15 22:07:42 -07:00
gamsterx ffe8f373bb mongoose-paginate-v2 update PaginateResult<T> to match latest docs (#43779)
* update PaginateResult<T>

* fix update PaginateResult<T>

* fix whitespace errors
2020-04-15 22:05:24 -07:00
Ryan Ju 7e76e9a0fd Fixed bug in auth0-lock, connection_scopes should be connection_scope (#43777)
Fixed bug in auth0-lock, `connection_scopes` should be `connection_scope`
2020-04-15 16:43:42 -07:00
Sergey Bakulin 6f9520a31e [openpgp]: fix the return type of the readArmored function (#43935)
* fix(openpgp): the function readArmored returns a promise

* fix(openpgp): remove redundant jsdoc type annotations to typescript

* chore(openpgp): update authors

* fix(openpgp): remove @author tag
2020-04-15 16:43:13 -07:00
Mitchell Stanford afd7ad1764 Add missing plotly.js layout property "colorway" (#43913)
* Add new/missing Plotly Plot Data type "Sunburst"

* Add and export PlotType

* Add missing plotly.js layout property "colorway"
2020-04-15 16:42:37 -07:00
Richard Simko 0a06fb368c Added missing options for Mongoose (#43773) 2020-04-15 16:41:04 -07:00
Axel Bocciarelli 88c95a5c06 [d3-scale-chromatic] Upgrade to v1.5.0 (#43917) 2020-04-15 16:27:15 -07:00
MatejSkrbisandmatejss 537903f44e Added additional gateway config options, fixed returning invalid response for grant API. (#43910)
Co-authored-by: matejss <matejss@inova.si>
2020-04-15 16:26:22 -07:00
Pulkit Aggarwal f86c9d86ce @types/stripe: New parameter added on stripe-sdk, subscriptions API (#43920)
* New parameter added on stripe-sdk, subscriptions API

Please refer to these new parameter:

https://stripe.com/docs/api/subscription_items/delete#delete_subscription_item-proration_behavior
https://stripe.com/docs/api/subscription_items/update#update_subscription_item-proration_behavior

* Removed: Trailing white-spaces.
2020-04-15 16:25:31 -07:00
Valentin Agachi 379f53bf8f [mongodbo] Allow any value for $unset (#43888) 2020-04-15 16:24:35 -07:00
daku10 c5e570e794 [aws-lambda] add userNotFound property (#43915) 2020-04-15 16:23:11 -07:00
martin-badin 2b7681ee6c [@types/jquery] Improve type for find function (#43857) 2020-04-15 16:22:29 -07:00
Eason Kang 1186f63e5f fix field defs for both CreateStorageData object and CreateStorageDataAttributes object (#43890) 2020-04-15 16:20:01 -07:00
Valentin Agachi 8987bbd357 [mongodb] Fix support for optional fields in $pull and $push (#43892) 2020-04-15 16:18:19 -07:00
Tom Kent 498f646452 adding a few missing APIs (#43907) 2020-04-15 16:16:45 -07:00
Andrew Luca 3aaa00afc9 feat(redux-api-middleware): add createAction types (#43918) 2020-04-15 16:16:14 -07:00
Elmano Neto ce90df6301 Add Heatmap interface to module google-map-react (#43739)
* add interface heatmap

* reset

* add interface heatmap

* add interface heatmap to google-map-react
2020-04-15 13:08:25 -07:00
Dave Brudner c636838b5b Restructures to export types for recurly-js (#43900)
* Restructures to export types for recurly-js

* Fixes PayPal.start in recurly-js
2020-04-15 12:55:46 -07:00
Max Lever 26fb8aa1a6 clarify type of handlePaste event arg (#43904) 2020-04-14 20:35:06 -07:00
Mitchell Stanford bc7793f079 Plotly.js: Add new/missing Plot Data type "Sunburst" (#43883)
* Add new/missing Plotly Plot Data type "Sunburst"

* Add and export PlotType
2020-04-14 20:34:45 -07:00
Michael Li cd5fa94c14 Update index.d.ts (#43876)
see https://github.com/tannerlinsley/react-table/blob/master/src/hooks/useTable.js#L52
2020-04-14 20:34:17 -07:00
Yury Krylov 8327c92af8 fixed type descriptions for 'or' and 'and' validations. (#43887) 2020-04-14 20:33:17 -07:00