Leonard Thieu
bf2beee34c
[jquery] Fix no-angle-bracket-type-assertion violations.
2018-11-24 09:45:54 -05:00
Leonard Thieu
e573d98516
[jquery] Add tests for JQuery.TypeEventHandlers.
2018-11-24 09:43:08 -05:00
Leonard Thieu
33c6e58f6e
[jquery] Add missing TTarget type parameter to touch events.
2018-11-24 09:43:08 -05:00
Leonard Thieu
db83bc7200
[jquery] Don't use a separate type parameter for the type of this in event handlers.
...
A separate type parameter is unnecessary as `this` and `currentTarget` reference the same object.
2018-11-24 09:43:08 -05:00
Leonard Thieu
3a54bad068
[jquery] Add support for touch events.
...
Fixes test failures in `viewporter` due to changes in jQuery Events API.
2018-11-24 09:43:07 -05:00
Leonard Thieu
8f46997efa
[sharepoint] Fix test failure due to jQuery Events API changes.
2018-11-24 09:43:07 -05:00
Leonard Thieu
e1d3c4aba9
[semantic-ui-form] Update API for jQuery Events API changes.
2018-11-24 09:43:06 -05:00
Leonard Thieu
8914a468a4
[jquery-mouse-exit] Update API for jQuery Events API changes.
2018-11-24 09:43:06 -05:00
Leonard Thieu
c1ce5ef2c2
[jquery-focus-exit] Update API for jQuery Events API changes.
2018-11-24 09:43:06 -05:00
Leonard Thieu
5f6b28023b
[bootstrap-slider] Fix test failure due to jQuery Events API changes.
2018-11-24 09:43:05 -05:00
Leonard Thieu
b6bb6a64fd
[bootstrap] Update API for jQuery Events API changes.
2018-11-24 09:43:05 -05:00
Leonard Thieu
68c38a850c
[backbone] Fix test failure in backbone.marionette due to changes in jQuery Events API.
2018-11-24 09:43:05 -05:00
Leonard Thieu
acc34c5a23
[angular] Update merging tests for jQuery Events API changes.
2018-11-24 09:43:04 -05:00
Leonard Thieu
00c546398c
[jquery] Add support for event types that have shorthand methods.
2018-11-24 09:43:04 -05:00
Leonard Thieu
f13af8beb0
[jquery] Improve declaration of Events API.
...
* Introduced the concept of a triggered event. A triggered event is a jQuery event that has been triggered (either manually by `.trigger()` or `.triggerHandler()`, or automatically by the user agent). Many properties on an event are not set until it has been triggered. Triggered events are now represented by `JQuery.TriggeredEvent`. `JQuery.Event` represents the object returned from the `jQuery.Event` constructor and serves as the base type for all jQuery events.
* Added a type parameter for `currentTarget` (`TCurrentTarget`). Previously, `currentTarget` was set to the type of `delegateTarget`. This was only correct for events received from directly bound event handlers. This allows delegate bound event handlers to specify the correct type of `currentTarget`.
* Added a type parameter for `target` (`TTarget`). Previously, `target` was set to the type of `delegateTarget`. This was not always correct. For delegate bound event handlers, `target` can be `delegateTarget` or any of its descendents. The exact type of `target` cannot be known until run time, so consumers should use a type assertion.
* Changed methods that bind event handlers to more accurately reflect the event object received through the callback. Both direct and delegate binding are now properly handled. This also includes a framework for providing more specific events for known event types.
2018-11-24 09:43:03 -05:00
Leonard Thieu
c1ec1c28e5
[jquery] Remove JQuery.EventHandlerBase<TContext = any, JQuery.Event> from handler types.
...
Handler types previously included `JQuery.EventHandlerBase<TContext = any, JQuery.Event>`. This was a fix to what turned out to be a problem with `jQuery.proxy`. That issue was properly fixed by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/29930 .
2018-11-24 09:43:03 -05:00
Leonard Thieu
32e0482fb5
[jquery] Remove jQuery.Event(EventLike) signatures and EventLike interface.
...
These are undocumented and don't appear to be intended to be public.
2018-11-24 09:43:02 -05:00
Leonard Thieu
50b56a19ce
[jquery] Remove jQuery.event.props.
...
See https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed .
2018-11-24 09:43:02 -05:00
Leonard Thieu
e64bea6d88
[jquery] Remove jQuery.event.fixHooks.
...
See https://jquery.com/upgrade-guide/3.0/#breaking-change-jquery-event-props-and-jquery-event-fixhooks-removed .
2018-11-24 09:43:01 -05:00
Leonard Thieu
16770fa6e1
[jquery] Add deprecation notice for Event.which.
2018-11-24 09:43:01 -05:00
Jessica Franco
36a32d8a72
Correct name in credits ( #30772 )
2018-11-23 13:31:04 +00:00
Kon Pik
c2fac6d235
Updating definitions for combined-stream v1.0.7 ( #30295 )
...
* updates
* PR feedback
* updated PR changes
2018-11-22 12:14:42 -05:00
Eloy Durán
28be0fcccb
Merge pull request #30742 from Lavoaster/styled-system-csstype
...
styled-system: Remove all type exports, and pull in values from csstype
2018-11-22 10:28:13 +01:00
Benjamin Lichtman
ea53c3b13d
Merge pull request #30665 from Kimahriman/react-leaflet-markercluster
...
Added types for react-leaflet-markercluster
2018-11-21 21:12:52 -08:00
Matt McCutchen
9414e3cb3a
react, react-dom: Enable strictFunctionTypes. ( #30748 )
...
Fixes https://stackoverflow.com/q/53298949 .
2018-11-22 04:51:57 +00:00
Adam Lavin
fd336a9567
styled-system: Remove all type exports, and pull in values from csstype
2018-11-22 00:01:22 +00:00
Adam Binford
8734181e0c
react-leaflet-markercluster: Use reference import
2018-11-21 18:12:23 -05:00
Benjamin Lichtman
c8b8c10fce
Merge pull request #30670 from BendingBender/stream-to-string
...
Add types for stream-to-string
2018-11-21 09:58:59 -08:00
Benjamin Lichtman
f7dd44a876
Merge pull request #30672 from BendingBender/dicer
...
Add types for dicer
2018-11-21 09:58:03 -08:00
Dimitri Benin
f47bf09aa0
fix review issues
2018-11-21 18:54:35 +01:00
Dimitri Benin
292d857e3d
fix review issues
2018-11-21 18:48:20 +01:00
Benjamin Lichtman
901d16fdba
Merge pull request #30441 from SimonSchick/fix/yar-cache-options
...
fix(yar): fix cache options
2018-11-21 09:39:09 -08:00
Benjamin Lichtman
54d6a99319
Merge pull request #30478 from walterh-sportsbet/react-navigation-add-experimental-prop-transparentCard
...
[react-navigation] add experimental prop transparentCard
2018-11-21 09:37:47 -08:00
Benjamin Lichtman
d6b34d7bf0
Merge pull request #30353 from tzachshabtay/master
...
passport-azure-ad- Cannot extend an interface 'passport.Strategy'. Did you mean 'implements'?
2018-11-21 09:36:50 -08:00
Benjamin Lichtman
3e16c87846
Merge pull request #30722 from BradleyHill/fabric-event-transform
...
Fabric - add optional `transform` property to the `IEvent` interface.
2018-11-21 09:31:29 -08:00
Benjamin Lichtman
282a73f469
Merge pull request #30712 from carnesen/expand-tilde
...
Add types for npm package "expand-tilde"
2018-11-21 09:30:51 -08:00
Benjamin Lichtman
dac56de7b5
Merge pull request #30706 from levansuper/expo-manipulateAsync
...
Expo manipulate async
2018-11-21 09:27:31 -08:00
Benjamin Lichtman
c2e622c1aa
Merge pull request #30701 from janesser/master
...
@types/vuelidate Fixing dynamic validation schema and typing.
2018-11-21 09:25:59 -08:00
Benjamin Lichtman
a9501010cd
Merge pull request #30685 from velezsarain/kerberos
...
Added type definitions for kerberos npm package
2018-11-21 09:23:17 -08:00
Benjamin Lichtman
62cb6627b1
Merge pull request #30681 from sugarshin/update_react-paginate
...
[react-paginate] Update to 6.0.0
2018-11-21 09:21:46 -08:00
Benjamin Lichtman
280dc576f9
Merge pull request #30674 from BendingBender/detect-character-encoding
...
Add types for detect-character-encoding
2018-11-21 09:20:44 -08:00
Benjamin Lichtman
ff89457559
Merge pull request #30505 from mauriedo/bugfix-swagger-schema-official-exclusive-min-max
...
swagger-schema-official: fixing types for exclusiveMinimum and exclusiveMaximum in BaseSchema
2018-11-21 09:12:02 -08:00
Benjamin Lichtman
b37e037422
Merge pull request #30567 from carusology/detect-browser-3-0-1
...
Update detect-browser to v3.0
2018-11-21 08:51:21 -08:00
Bradley Hill
834369c52b
Add optional transform property to the IEvent interface.
2018-11-21 10:49:49 -06:00
Benjamin Lichtman
19366f737c
Merge pull request #30580 from sutris-sdp/master
...
@types/graphql-relay: Proper type definition for Relay connection args
2018-11-21 08:49:48 -08:00
Benjamin Lichtman
ceaa53e3f5
Merge pull request #30579 from pine/js-url
...
[js-url] Fix contributor GitHub URL
2018-11-21 08:46:52 -08:00
Benjamin Lichtman
aa7279d6dc
Merge pull request #30511 from Kovensky/styled-components-cssobject
...
styled-components: Add more complete support for object styles, tests
2018-11-21 08:46:06 -08:00
Benjamin Lichtman
8c9b0319e5
Merge pull request #30583 from thepocp/react-table-add-components
...
[@types/react-table] Add overridden components
2018-11-21 08:43:45 -08:00
Benjamin Lichtman
7961802b2c
Merge pull request #30644 from chicoxyzzy/patch-2
...
[WebAssembly] Align bufferSource value type to WebAssembly JS API Specification
2018-11-21 08:42:54 -08:00
Benjamin Lichtman
280c0e888a
Merge pull request #30715 from ptrdu/ali-oss
...
Ali oss: fix the export type of ali-oss
2018-11-21 08:32:29 -08:00