Nathan Shively-Sanders
ed1978cc37
Merge branch 'master' into update-react-shadow-dom-retarget-events
2020-01-03 16:35:02 -08:00
Nathan Shively-Sanders
e53b3dd6e9
react-shadow-dom-retarget-events: update tests
...
Typescript 3.8 has a stricter type for customElements.define, so I
updated the tests to match the type.
2020-01-03 16:30:15 -08:00
Nathan Shively-Sanders
1b29bd026a
Remove references to obsolete DOM interfaces: ( #41387 )
...
1. WindowTimers
2. IDBEnvironment
3. WindowBase64
They are removed in Typescript 3.8.
2020-01-03 15:52:30 -08:00
Steven Conaway
25e1983a34
Add types for react-native-responsive-dimensions ( #41385 )
2020-01-03 15:39:50 -08:00
Nick Amoscato
d8a010a0a6
[gapi.client.photoslibrary] Add Google Photos Library API ( #41311 )
2020-01-03 15:38:57 -08:00
Andrew Branch
ec7421505e
Fix node and webpack-env compatibility ( #41313 )
...
* Fix node and webpack-env compatibility
* Fix missing update
2020-01-03 15:28:52 -08:00
Kamil Socha
57248c2857
[react-stickynode] Adjust 2.1 definitions ( #41299 )
...
* Adjust react-stickynode 2.1 definitions
* Fix version
2020-01-03 15:28:01 -08:00
Andros Rosa Llop
b87251eefd
react-table: Fix type of useGetLatest ( #41369 )
...
* make it a generic function, with return type `() => T`
2020-01-03 15:25:13 -08:00
Andrew Neitsch
98f56b4936
Fix typo ( #41349 )
2020-01-03 15:22:29 -08:00
Justin Hall
fe4cab0885
[react-helmet]: fix types of htmlAttributes and bodyAttributes values ( #41352 )
2020-01-03 15:14:36 -08:00
Matthew Little
ea96391e86
[bn.js] Fix module import without 'allowSyntheticDefaultImports' ( #41255 )
...
* [bn.js] Fix module import without 'allowSyntheticDefaultImports'
Allow `import * as bn from 'bn.js'` to work without having to enable `"allowSyntheticDefaultImports": true`
* Export the Endianness and Prime types, update unit tests for both import types
2020-01-03 15:09:41 -08:00
Austin Turner
9a48ed4293
Updated react-stripe-elements and react-v3 to add missing types ( #41305 )
...
* Updated react-stripe-elements to add missing types
react-stripe-elements:
Added confirmCardPayment() to StripeProps
- a837941298/src/components/inject.js (L25-L25)
Added confirmCardSetup() to StripeProps
- a837941298/src/components/inject.js (L26-L26)
Updated createPaymentMethod() to include new function format
- https://stripe.com/docs/js/payment_intents/create_payment_method#stripe_create_payment_method-paymentMethodData
- https://github.com/stripe/react-stripe-elements/releases/tag/v6.0.0
stripe-v3:
Added new function signature for createPaymentMethod(data: PaymentMethodData)
- https://stripe.com/docs/js/payment_intents/create_payment_method#stripe_create_payment_method-paymentMethodData
Added PaymentMethodData interface
- https://stripe.com/docs/js/payment_intents/create_payment_method#stripe_create_payment_method-paymentMethodData
* Reverted version number and fixed linter issues
Removed use of optional chaining in favor of non-null assertions
Removed prettier formatting as it caused linting errors (additional semi-colons)
2020-01-03 15:07:26 -08:00
Karoun Kasraie
9f69f3608c
Adding missing types for lightship package (from upstream) ( #41315 )
...
* Adding missing types from upstream Lighthouse
* Correcting version number and misspelling
2020-01-03 15:06:33 -08:00
Henrique Cunha Fonseca Torquato
18f5533185
[blip-sdk] Fixed wrong types in method call ( #41377 )
...
* Added type definition for blip-sdk
* - Removed non used test file reference;
- Fixed lint rule errors.
* Added analysis filter parameters
* Fixed linting
* Updated package version
* Removed patch version from header
* Fixed wrong typing
* Fixed changes
2020-01-03 14:42:04 -08:00
Nathan Shively-Sanders
6b8d40a95f
Break slack-winston dependency on winston ( #41386 )
...
slack-winston is nearly unused and seems abandoned, but has a dependency
on the deprecated @types/winston. This is causing problems for DT
automation, so I just inlined all the winston types that slack-winston
uses. Since this package is unlikely to change, I don't think this is a
problem.
2020-01-03 14:31:03 -08:00
Tomasz Pluskiewicz
98f5d66f4f
fix: rdf-js parsers actually return a quad stream ( #41298 )
...
* fix: rdf-js parsers actually return a quad stream
* test: verify parser satisfies generic param
2020-01-03 12:59:30 -08:00
simusr2
fff3323ed9
Updated tabulator-tables/index.d.ts: allow RowLookup type and selectRow params ( #41362 )
...
Added string[] and number[] in RowLookup as allowed types.
Added true as allowed param value: select all rows currently filtered.
2020-01-03 12:55:50 -08:00
Gergely Nagy
78aff54e10
d3-graphviz: fix graphviz() and selectWithoutDataPropagation() ( #41376 )
...
The return type of graphviz() is more specific now.
Added the missing parameter for selectWithoutDataPropagation()
and fixed the return type.
2020-01-03 12:55:28 -08:00
Rob Moran
65c6b7d386
Added missing BluetoothDevice event ( #41297 )
2020-01-03 12:50:57 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
35feaab6ae
fix(truncate-middle): null union type for str ( #41277 )
...
This fixes empty string return when param equals `null`:
https://git.io/JeNkz
Thanks!
2020-01-03 12:50:19 -08:00
TypeScript Bot
d820013d4c
Update CODEOWNERS ( #41375 )
2020-01-03 12:48:10 -08:00
Mihail Novikov
f6bb56c81c
[@types/react-simple-maps] Update to 1.0 ( #41370 )
...
* [@types/react-simple-maps] Update to 1.0.0-beta.0
* Fixes
* Fix version
2020-01-03 12:47:33 -08:00
Ole André Vadla Ravnås
ca12788ead
Sync frida-gum typings with Frida 12.8.3 ( #41373 )
...
Changelog at:
https://frida.re/news/2019/12/18/frida-12-8-released/
2020-01-03 11:29:01 -08:00
Laurens Rietveld
65f7330576
[N3] Type constructors properly as they require the new keyword ( #41372 )
2020-01-03 11:28:01 -08:00
Laurens Rietveld
7e9cebb5f4
Use correct typings for prefix utility function ( #41371 )
2020-01-03 11:27:42 -08:00
Linus Unnebäck
a6ee7419ec
parse: Improve typing of GeoPoint constructor ( #41367 )
2020-01-03 11:19:31 -08:00
Lee Swanson
bcc952e61b
@atlaskit/feedback collector ( #41360 )
...
* Added types for @atlaskit/feedback-collector
* Updates to resolve linter reported issues
2020-01-03 11:18:43 -08:00
Ifiok Jr
7ca9ad1402
feat: add types for @mdx-js/react ( #41365 )
2020-01-03 10:48:55 -08:00
Oliver Joseph Ash
d363b47ec0
Node: querystring: allow nullish values in input type ( #41366 )
2020-01-03 10:47:43 -08:00
Robin Giese
fd33c62438
Fix typings for Flatbuffers v1.10+ release ( #41303 )
...
* Fix typings for Flatbuffers v1.10+ release
* Bump Flatbuffers version
* Use new parameter in test case
* Additional test update
2020-01-03 10:07:46 -08:00
Aankhen
856588d8d4
Add kompression types ( #41289 )
2020-01-02 22:16:08 -08:00
Timm Stelzer
827e5dac59
Fix publish and sendToQueue signatures. ( #41217 )
...
As per the
[documentation](https://github.com/benbria/node-amqp-connection-manager#amqpconnectionmanagercreatechanneloptions ), the
`content` field in `publish` and `sendToQueue` can be a plain object, when `createChannel`s `json` option is set.
This commit extends the `content` parameter of those two functions. The change should be backwards compatible, as we're
loosening requirements.
Fixes #37295
2020-01-02 16:58:11 -08:00
Steven
533f14207e
Add context and hooks ( #41200 )
2020-01-02 16:57:33 -08:00
Chris Atkin
809c9fe482
Add types for knuth-shuffle ( #41259 )
...
* Add types for knuth-shuffle
This adds types for the [`knuth-shuffle`](https://www.npmjs.com/package/knuth-shuffle ) package.
* Correct return type to be same as passed array
This corrects the return type for the `knuthShuffle` function, as it returns an array of the same type (specifically, the same array!), rather than `void`.
* Correct tests
2020-01-02 16:55:32 -08:00
Daniel Durante
fe47c041d5
Pg: Adds a boolean value for PoolClient.release's support for truthy and error values ( #41040 )
...
* Formats code
* Adds boolean value for Pool.release's support for truthy and error values
2020-01-02 16:43:53 -08:00
Hossein Saniei
c7ce2f4b92
prevent incorrectly infering Joi.object type from user provided schema
2020-01-02 16:07:21 -08:00
Haseeb Majid
5eeffbdb87
Added react-native-share-extension ( #41306 )
...
* Added React Native Share Extension
* Fixed Linting Issues
Fixed linting issues, added tests.
* Fixed other linting issues
Data returns a promise.
* Removed Public from state
Removed public from state.
2020-01-02 15:56:33 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
bf8cc8a772
feat(angular-wizard): setEditMode method definition ( #41244 )
...
- docs
- test
Thanks!s
2020-01-02 15:55:58 -08:00
Benjamin Schuster-Boeckler
c1bea6ce63
creates definitions for @Pager/jackrabbit ( #41330 )
...
* Fixes incorrect return types in diff-delta and blob. Should be functions, not direct accessor properties. Also, `rawcontent` returns a wrapper around a Buffer, not a Buffer directly, as `content` does.
* updated package description and version
* fixed missing argument
* Updates jackrabbit types to export namespace for interface and type access. Adds missing options and arguments to a few methods.
* fixed linting issue
* revert changes to jackrabbit
* Creates type definitions for the pagerinc fork of jackrabbit which is the more supported version. The original types for jackrabbit actually don't work, while this one is actually tested.
2020-01-02 15:43:51 -08:00
Nikita Balikhin
007889e18b
@types/draft-js fix customStyleFn return type ( #41276 )
2020-01-02 15:40:17 -08:00
Aankhen
4cd3d19955
koa__cors: Allow origin to be a function returning a promise. ( #41288 )
2020-01-02 15:38:50 -08:00
Piotr Błażejewicz (Peter Blazejewicz)
383991ddb5
feat(react-toast-notification): align with version 2.4.0 ( #41249 )
...
- remove `pauseOnHover` property
- add `removeAllToasts` and `updateToast` hooks
- mark `callback` option optional in `removeToast` hook
- extends options with `UpdateOptions` variant to provide optional
content property
- rewrite tests to cover all hooks and provider properties
- version bump
Thanks!
2020-01-02 15:21:32 -08:00
Adam Haglund
a7b63a4e6a
[color]: Show colors in types for developer QOL ( #41265 )
...
* add generic for developer QOL
* add to contributors
* fix types to be correct
* fix ColorParam type in test
* remove unnecessary function
* remove unnecessary generics
* use generic
* update ts version
2020-01-02 15:20:45 -08:00
Dương Tấn Huỳnh Phong
e6e25944e6
[passport-facebook-token]: add fbGraphVersion for StrategyOptions ( #41264 )
2020-01-02 15:19:57 -08:00
Hendrik Röhm
e875d1c18b
plot.ly add showlegend to PlotData ( #41261 )
...
According to the [documentation](https://plot.ly/javascript/reference/#scatter-showlegend ), showlegend is available for all plot data types.
2020-01-02 15:19:41 -08:00
magonzalez9
0f375a72b5
Add types for react-mathquill ( #40861 )
...
* Add types for react-mathquill
* Fix formatting issues
* Fix typescript header version
* Remove single quote character from typescript version header
* Fix typing for function
* Add type definitions for @edtr-io/mathquill and update react-mathquill to reflect that.
* Add paths property to @edtr-io/mathquill tsconfig
* Fix dt-header package version
* Update types/react-mathquill/index.d.ts
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/edtr-io__mathquill/edtr-io__mathquill-tests.ts
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/react-mathquill/tsconfig.json
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/react-mathquill/index.d.ts
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/react-mathquill/index.d.ts
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/react-mathquill/index.d.ts
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/react-mathquill/index.d.ts
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
* Update types/react-mathquill/react-mathquill-tests.tsx
Co-Authored-By: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
Co-authored-by: Dmitry Demensky <10235949+demensky@users.noreply.github.com>
2020-01-02 15:18:03 -08:00
chiuhow
20755a9214
Add type definitions of source and layer components ( #41207 )
...
* add type definitions of source and layer components
* change the definition of the properties of Layer component
2020-01-02 15:16:29 -08:00
AN602
3e26a8222d
Add types for getPerformance() and extend Options interface with trackPerformance flag ( #41340 )
2020-01-02 15:15:38 -08:00
Litichevskiy Dmitriy
c28f8c4da5
Services collection name was fixed ( #41331 )
2020-01-02 15:14:56 -08:00
Honza Kalfus
2474bc969f
react-widgets: Fixed allowed values for onToggle and defaultOpen props ( #41328 )
2020-01-02 15:14:34 -08:00