Commit Graph
65990 Commits
Author SHA1 Message Date
Martin Andert eaf62c8120 [react-relay] Improve nullability handling of pagination hooks (#40579)
* Fix nullabily of usePaginationFragment to match that of useFragment

* usePaginationFragmanet: add test for the non-null case

* Fix nullabily of useBlockingPaginationFragment to match that of usePaginationFragment
2019-11-22 07:45:23 -08:00
Oleh Dokuka 4d7955b2e9 Provides Aligning of RSocket-xxx definitions with the latest RSocket-JS release (#40580)
* provides alignment with the latest RSocket-JS

* provides alignment with the latest RSocket-JS

Signed-off-by: Oleh Dokuka <shadowgun@i.ua>
2019-11-22 07:44:23 -08:00
Jon Surrell e75038b564 @wordpress/components Popover: Add onFocusOutside (#40585)
* Add Popover Props['onFocusOutside']

- Package version 8.2
- Deprecate onClickOutside
- Add a few props type tests

* Revert formatting changes

* Improve callback signature

* Simplify
2019-11-22 07:43:12 -08:00
Kenneth Aasan 85e29d5a71 newrelic distributed tracing Transaction handle methods (#40550)
* Adds newrelic distributed tracing Transaction handle methods

* Adds newrelic distributed tracing Transaction handle methods
2019-11-22 07:41:35 -08:00
Nathan Shively-Sanders 6f4c34b258 Fix bad types/v* references in tests (#40575)
* Stop relying on old versions of dependencies

gulp-connect *apparently* works with gulp 3 or 4, but the examples on
the homepage are written for gulp 3. I updated them minimally to work
with gulp 4 -- its types at least.

auth0.widget depends on auth0-js which now uses modules. I switched to
import types and updated the type names.

* require 2.9 for auth0.widget
2019-11-21 16:05:37 -08:00
Nathan Shively-Sanders 3e7b3d096d auth0.widget: fix reference to auth0-js (#40562)
It would like to reference v7, but it does so with a triple slash
reference:

```ts
/// <reference types="auth0-js/v7" />
```

This reference doesn't work in the shipped version of auth0.widget.
The full fix for this is to all package.json references to
`@types/auth0-js@7`, but this isn't needed to fix this particular
problem because just referring to the current version works fine:

```ts
/// <reference types="auth0-js" />
```
2019-11-21 09:03:36 -08:00
balzdur 4d73a0845a Update index.d.ts (#40553) 2019-11-21 10:39:16 -05:00
Robert Chmielowiec 187904d73c Add query parameter to updateIssue method (#40555)
https://jira-node.github.io/class/src/jira.js~JiraApi.html#instance-method-updateIssue
2019-11-21 09:32:26 -05:00
Nathan Shively-Sanders fdeac13eba Remove relative types="../react" reference in react-howler (#40541)
* Remove relative types="../react" reference in react-howler

* remove triple-slash references entirely
2019-11-20 15:55:31 -08:00
Daniel Del Core 82d8ebd2c3 fix(final-form-focus): Pass fromvalues to Decorator (#40521) 2019-11-20 15:07:48 -08:00
Akhil Stanislavose 170f1475a0 [react-linkify] Export namespace to expose props type defs (#40371)
* Export namespace to expose props type defs

It would be nice to expose the props type definition which would allow users to extend the original component.

* Update version to 1.0.0-alpha

Seems like the interface haven't changed at all with the bump to 1.0.0-alpha

* Fix lint errros

* Remove the ReactLinkify namespace
2019-11-20 15:05:44 -08:00
Krishna Glick daa264d814 Update setPrivacySettings place in interface (#40534)
* Update setPrivacySettings place in interface

I placed this in the wrong spot in the git editor.
My bad.

* Adding a test for the functionality

* newline at end of file
2019-11-20 14:58:21 -08:00
James Garbutt e8eab36fda sinon: strongly type accessors (#40536) 2019-11-20 14:57:58 -08:00
David Sherret dc262e7cf8 Add types for ts-nameof 4.2 (#40517) 2019-11-20 12:37:18 -08:00
Kyle Halleman 93b2407cb6 fix(mark.js): add second param to each for markRange (#40427)
* fix: add second param to `each` in `MarkOptions`

* fix: separate MarkRangesOptions similar to MarkRegExOptions
2019-11-20 12:35:48 -08:00
Chad Burt 593b226eac [@types/geobuf] Add typings for geobuf project (#40532)
* Add types for geobuf

https://github.com/mapbox/geobuf

* Remove patch version from header
2019-11-20 12:34:45 -08:00
Florian Keller b82c575b67 [binary-parse-stream] Add package binary-parse-stream (#40530) 2019-11-20 12:29:07 -08:00
Konrad Ossowski 64e9e4730e [@types/semantic-ui-dropdown] Added missing property 'values' in 'DropdownSettings' in global.d.ts (#40384)
* Update global.d.ts

Added missing property 'values' in DropdownSettings.
Documentation:
https://semantic-ui.com/modules/dropdown.html#/settings

* removed trailing whitespace

* removed trailing whitespaces
2019-11-20 12:05:39 -08:00
Láďa Durchánek 3f56bcc4f0 Stripe: Update ITier (#40388)
* Update type for IProductCreationOptions

* Use minor version instead of patch

* Stripe: Update plan and plan creation options

- https://stripe.com/docs/api/plans/object
- https://stripe.com/docs/api/plans/create

* Version bump

* Stripe: Update ITier for optional and additional fields

https://stripe.com/docs/api/plans/object?lang=node#plan_object-tiers

* Add 'inf' as a tier up_to option
2019-11-20 12:05:16 -08:00
Bjorgvin Baehrenz Thordarson 57922c65b9 Update to support version 1.0 of react-slider (#40413)
* update to support 1.0 version of react-slider

* adding comments from the source is a nice touch

* setting esModuleInterop to false
2019-11-20 12:03:15 -08:00
Joey Rafidi 60d30134bc Fix minor issues in AnalyticalGraphicsInc/cesium typings (#40425) 2019-11-20 12:00:45 -08:00
taoqf cbfa47176a weixin-app: fix types (#40522)
* wxapp: add FileSystemManager

* fix: add interface

* uppercase interface name

* add types react-native-audio

* add types for baidumap

* lint

* add doc header non-npm package

* add types: react-native-easy-upgrade

* fix: options

* fix

* react-native-easy-update: add typescript version

* 🐛 weixin-app: fix return types of chooseImage
2019-11-20 11:55:10 -08:00
Andy Baudoin 2b670a4ae6 [react-geosuggest]: add missing ignoreEnter property (#40508) 2019-11-20 11:51:44 -08:00
Kun Yan eb5dae98df feat(react-lazylog): Add more fields for react-lazylog 4.4.1 (#40520)
* feat(react-lazylog): add more fields in Lazylog

* feat(react-lazylog): Add SearchBar

* Update LazyLog.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* (react-lazylog): text should be optional

* fix(react-lazylog): remove patch version of react-lazylog
2019-11-20 11:51:14 -08:00
Leo Farias 31bb520ddb Updated types for authorizeUrl method (#40518) 2019-11-20 11:50:28 -08:00
JaceHensley a6dd1a8042 Make the config options all optional on the ReactQueryConfigProvider (#40514) 2019-11-20 11:40:44 -08:00
Ashley Abbott 531f8b9c14 Implement bunyan-format as both callable and newable (#40473)
* Updating type with tslint hint and tests to be verbose

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>

* Redundant declare and required newlines

Signed-off-by: Ashley Abbott <ashpabb@gmail.com>
2019-11-20 11:40:00 -08:00
Mike fc04e45d78 added funnel & funnelarea types; added false to layout.dragmode (#40512) 2019-11-20 11:32:58 -08:00
Krishna Glick 2e1dac3d64 Add definition for setPrivacySetting (#40510)
* Add definition for setPrivacySetting

The docs for this addition to gpt can be found here: https://support.google.com/admanager/answer/9598414
Unfortunately the official documentation has not caught up, see here: https://developers.google.com/doubleclick-gpt/reference#googletag.PubAdsService
There doesn't seem to be anything else it takes besides that, based on the above documentation.

* Contribution Addition
2019-11-20 11:32:38 -08:00
Prateek Kathal df17b3bea8 Theme-UI: Added useCustomProperties for old browsers support (#40529)
* Added useCustomProperties for old browsers support

* Added definition author

* Made useCustomProperties optional

* Removed trailing whitespaces
2019-11-20 11:32:08 -08:00
T Allen Studios d59a83ea12 [@types/multimap] Add types for multimap NPM package (#40506)
* added multimap type

* removed added dependency to package.json

* added newline back to bottom of package.json

* addressing linter errors

* addressing linter errors

* addressing linter errors

* replaced new-able const with class declaration

* Multimap class now implements Multimap interface

* declaration file changes
2019-11-20 11:19:18 -08:00
Nathan Shively-Sanders b638a27a77 wordpress__dom: update for DOM updates in typescript@next (#40526)
* wordpress__dom: update for DOM updates in typescript@next

* re-add old type, Node
2019-11-20 08:51:31 -08:00
Simon Schick c4317350aa feat(puppeteer): 2.0 (#40284)
* feat(puppeteer): 2.0

* fixup! feat(puppeteer): 2.0
2019-11-19 15:55:31 -08:00
Filipe Ferreira c31e519f1b Added typing for string-placeholder (#40373)
* Added typing for string-placeholder

* Fixed linting

* Added readonly to arrays

* Change typescript version

* Fixed types definition

* Code review comments

* Removed clean as array type

* Fix export

* Fix export
2019-11-19 15:54:45 -08:00
Nathan McGinn 3ceab7a9a2 [@types/vault-auth-aws] Add types for vault-auth-aws NPM packa… (#40509)
* add vault-auth-aws

* fix interface
2019-11-19 15:53:55 -08:00
Colin Ulin f7da07be7b Generics and typed attributes for Parse.Object and sub classes (#40429)
* parse: generics and typed attributes for Parse.Object and sub classes

* parse: Fix dt-header tslint rule
2019-11-19 15:52:46 -08:00
Nicholas Latham 4311598e93 react-window-infinite-loader: Allow returning null in loadMore… (#40402) 2019-11-19 15:51:31 -08:00
ssddi456 13894c24ab add yog-ral (#40410)
* add yog-ral

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update tslint.json

* Update tslint.json

* Update yog-ral-tests.ts

* Update yog-ral-tests.ts
2019-11-19 15:50:32 -08:00
r4tz52 0ed8c63f76 [pdfkit] 2019-11-08 add Security and PdfVersion options (#40234)
* [pdfkit] 2019-11-08 update options

* Fixed typings, follow up code review
2019-11-19 15:49:32 -08:00
Max Boguslavsky c8e9c5a677 Added typing for ffmpeg.js (#40276)
* added type for ffmpeg.js

* corrected usage

* corrected formatting

* fixed linter errors

* added fix for npm-naming error

* reverted back commit

* corrected exports

* reworked ffmpeg

* fixed according to linting errors

* fix

* declared function inside namespace; replaced back type

* rewrote package to match examples from package documentation
2019-11-19 15:46:27 -08:00
Yutaka Kohada d1439a815f Fix: Form Submit interface (#40507) 2019-11-19 15:15:08 -08:00
ikokostya e8dd54730f [fs-ext] Update definition to v2 (#40439)
* [fs-ext] Update definition to v2

* Remove definitions for utime(), utimeSync().
* Add constants definition.
* Add new values of `cmd` parameter to fcntl(), fcntlSync().
* Add overrides for more accurate types of `flags` parameter in flock(), flockSync().
* Add overrides for more accurate types of `cmd` parameter in fcntl(), fcntlSync().
* Add statVFS() defintion.
* Rewrite tests.

Refs https://github.com/baudehlo/node-fs-ext/pull/90

* Use NodeJS.ErrnoException instead of Error

See https://github.com/baudehlo/node-fs-ext/blob/3125353321c30bd35fc38e40ce76ffe3872e215b/fs-ext.cc#L366
2019-11-19 15:13:57 -08:00
Ethan Setnik 8fdd3ff940 [@types/stripe] - add Stripe.oauth resources (#40443)
* add oauth token endpoint

* fix version error

* fix linter errors

* add HeaderOptions as per https://github.com/stripe/stripe-node/blob/master/lib/StripeMethod.js

* add deauthorize and full jsdoc comments

* fix redundant

* fix package.json

* add test cases, add variant without HeaderOptions

* fix test linter errors
2019-11-19 14:13:24 -08:00
dlgrit 8efcec1c1e [@types/babel__traverse] Add typedef for push/unshift container (#40401)
* Add typedef for container modification methods

Add typedef for unshiftContainer() and pushContainer(). These methods
are used to insert nodes into a list of nodes (container) owned by the
current node.

* Add tests for typdefs of push/unshift Container

* Add "Dean L" to definitions author list
2019-11-19 14:07:38 -08:00
TheRealImaginary d6ddf4b8ab feature: Add additional overload for putObject (#40414) 2019-11-19 14:07:11 -08:00
Chris Shaw c95dfe4932 [string-strip-html] add type definition (#40481) 2019-11-19 12:57:38 -08:00
Marcos Junior a707b32b0b First version of reactabular-sticky typings (#40496) 2019-11-19 12:55:34 -08:00
Marcos Junior ab5775202e Typings for react-dnd-scrollzone (#40498) 2019-11-19 12:54:52 -08:00
Marcos Junior 29ba6577fa First version of reactabular-dnd typings (#40497) 2019-11-19 12:53:55 -08:00
Niklas Mollenhauer b81ff8f424 [restify] Use formidable file type for file uploads (#40391)
* Use formidable file type for file uploads

* Remove triple-slash import
2019-11-19 12:39:47 -08:00