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
Benjamin Lichtman
1831cb2329
Merge pull request #30708 from ElizabethSamuel-MSFT/office-js-refresh-support
...
office-js: Refresh common APIs client support
2018-11-21 08:29:37 -08:00
Benjamin Lichtman
c0acdd060c
Merge pull request #30582 from carl-coolblue/master
...
[react-select] Add missing `data` prop type to `Option`
2018-11-21 08:28:40 -08:00
Benjamin Lichtman
f0194f85f1
Merge pull request #30691 from ulrichb/node_spawn_overload
...
[node] Add `spawn()` overload which takes `options` but no `args`
2018-11-21 08:27:50 -08:00
Benjamin Lichtman
de7729ceba
Merge pull request #30703 from kirakik/fix/feathersjs_find
...
Fixed @feathersjs/feathers find service method return type
2018-11-21 08:24:22 -08:00
Benjamin Lichtman
79a413ceff
Merge pull request #30675 from andipaetzold/mailgun-js-validation
...
[mailgun-js] add types for email validation
2018-11-21 08:23:01 -08:00
Benjamin Lichtman
54e4daab7c
Merge pull request #30687 from iRON5/fix-echarts-in-npm
...
Fix echarts options definition in npm package
2018-11-21 08:21:50 -08:00
Benjamin Lichtman
60e6ac9f3b
Merge pull request #30402 from vsaarinen/rc-tooltip-add-missing-props
...
[rc-tooltip] Add missing afterVisibleChange and id props
2018-11-21 07:58:25 -08:00
Benjamin Lichtman
9d40017aad
Merge pull request #30690 from jussikinnula/add-glview-types-for-gl-react-subpackages
...
Add GLView types for gl-react sub-packages
2018-11-21 07:57:22 -08:00
Benjamin Lichtman
263f1daeb5
Merge pull request #30254 from jjoekoullas/eventsInterface
...
backbone - Backbone.Event is an object, not class
2018-11-21 07:55:19 -08:00
Benjamin Lichtman
ac7a57cebe
Merge pull request #30689 from nkprince007/master
...
Add type definitions for netlify-identity-widget
2018-11-21 07:51:55 -08:00
Benjamin Lichtman
0cc70d3b80
Merge pull request #30307 from nodify-at/master
...
redis-rate-limiter: update version to 1.2.0, provide new options
2018-11-21 07:42:27 -08:00
Benjamin Lichtman
b4bbd34eec
Merge pull request #30255 from surgeboris/react-redux
...
[react-redux] implemented proper typings for thunk action creators in TDispatchProps
2018-11-21 07:41:50 -08:00
Eloy Durán
3b3a7e9dc8
Merge pull request #30718 from newyankeecodeshop/rn-xmlhttprequest
...
Add declarations for XMLHttpRequest from DOM lib
2018-11-21 16:29:40 +01:00
Sergey Rubanov
46d57157d9
[WebAssembly] Align bufferSource value type to WebAssembly JS API Specification
...
According to [WebAssembly JS API specification](https://webassembly.github.io/spec/js-api/#webassembly-namespace ) `bufferSource` is of type `BufferSources` which is union of [these types](https://heycam.github.io/webidl/#BufferSource )
importObject is always an object
2018-11-21 15:47:47 +03:00