Josh AbernathyandMasahiro Wakame a13fa7abf5 Make React's SyntheticEvent.currentTarget generic over T again (#10784)
* Make SyntheticEvent.target generic over T again

This change was added in https://github.com/DefinitelyTyped/DefinitelyTyped/commit/084926e23accedcbf700bf480e38abdeabcd971e but then reverted in https://github.com/DefinitelyTyped/DefinitelyTyped/commit/5607f54defce88bc52a0440288f434cafffdb5ce. The revert _looks_ like an accident to me, as it's a merge coming in from master vs. a purposeful change. Maybe it got accidentally stepped on in resolving a conflict?

If `target` should no longer be the intersection of `EventTarget` and `T`, then there's not much point to `SyntheticEvent` being generic over `T`.

* Make `currentTarget` generic over instead instead of `target`
2016-09-06 23:01:03 +09:00
2016-07-26 14:59:34 +09:00
2016-08-11 13:13:12 +02:00
2016-08-19 15:34:23 -07:00
2016-08-19 15:40:02 -07:00
2016-07-26 16:10:38 -07:00
2016-07-14 18:13:43 -07:00
2016-08-05 18:43:06 -07:00
2016-07-14 18:13:43 -07:00
2016-07-13 21:51:19 -07:00
2016-08-22 10:11:46 -07:00
2016-08-19 15:58:49 -07:00
2016-08-19 16:07:05 -07:00
2016-08-19 16:18:41 -07:00
2016-08-19 16:25:39 -07:00
2016-08-11 13:13:12 +02:00
2016-08-19 11:20:42 -07:00
2016-08-18 16:39:16 -07:00
2016-08-18 14:53:30 -07:00
2016-08-19 16:22:28 -07:00
2016-07-06 06:19:20 -04:00
2016-08-19 16:44:36 -07:00
2016-08-19 17:02:36 -07:00
2016-07-26 15:03:04 -07:00
2016-07-21 10:07:13 -07:00
2016-08-16 14:28:38 -07:00
2016-08-19 17:12:07 -07:00
2016-08-19 17:14:33 -07:00
2016-08-19 17:18:52 -07:00
2016-07-26 15:03:04 -07:00
2016-08-05 18:43:06 -07:00
2016-08-19 17:22:51 -07:00
2016-08-19 17:27:11 -07:00
2016-08-19 17:29:39 -07:00
2016-08-06 15:33:57 -04:00
2016-07-06 01:01:17 +02:00
2016-08-05 21:19:20 +08:00
2016-07-26 15:03:04 -07:00
2016-08-19 17:39:57 -07:00
2016-06-14 00:57:46 +09:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-08-19 14:00:47 -07:00
2016-07-23 23:31:51 -07:00
2016-08-03 18:17:39 -07:00
2016-08-22 10:15:27 -07:00
2016-08-18 17:48:06 -04:00
2016-06-19 11:59:36 +09:00
2016-06-08 14:01:32 +03:00
2016-08-18 16:39:16 -07:00
2016-07-14 18:13:43 -07:00
2016-08-12 15:46:44 +03:00
2016-08-22 16:14:49 -07:00
2016-08-10 16:20:48 +02:00
2016-06-20 23:58:06 +00:00
2016-08-18 14:53:30 -07:00
2016-07-14 18:13:43 -07:00
2016-08-09 15:41:20 -07:00
2016-08-01 12:17:19 -07:00
2016-07-13 22:45:21 -07:00
2016-08-09 19:33:33 +08:00
2016-06-22 12:41:01 +09:00
2016-07-26 15:03:04 -07:00
2016-07-26 15:03:04 -07:00
2016-08-19 11:04:29 -07:00
2016-08-18 14:53:30 -07:00
2016-08-19 10:32:34 -07:00
2016-08-10 07:13:51 -07:00
2016-07-26 16:10:38 -07:00
2016-08-19 11:13:25 -07:00
2016-08-01 13:06:54 -07:00
2016-08-19 10:55:32 -07:00
2016-08-04 14:09:56 -04:00
2016-07-14 18:13:43 -07:00
2016-08-06 20:19:56 +08:00
2016-07-14 18:13:43 -07:00
2016-05-26 23:22:13 +09:00
2016-08-11 15:58:47 +02:00
2016-08-19 16:09:29 -07:00
2016-08-11 13:13:12 +02:00
2016-08-18 14:53:30 -07:00
2016-07-25 12:45:12 -07:00
2016-08-30 19:01:44 -07:00
2016-08-11 13:13:12 +02:00
2016-08-19 11:14:51 -07:00
2016-05-26 23:23:49 +09:00
2016-08-18 14:53:30 -07:00
2016-07-29 19:00:42 -07:00
2016-08-18 14:53:30 -07:00
2016-08-18 16:39:16 -07:00
2016-08-19 10:32:34 -07:00
2016-08-18 14:53:30 -07:00
2016-07-26 15:03:04 -07:00
2016-07-14 18:13:43 -07:00
2016-07-14 18:13:43 -07:00
2016-07-14 18:13:43 -07:00
2016-07-14 18:13:43 -07:00
2016-07-14 18:13:43 -07:00
2016-07-01 14:58:13 -07:00
2016-07-14 18:13:43 -07:00
2016-08-18 14:53:30 -07:00
2016-08-16 16:20:29 -07:00
2016-07-14 18:13:43 -07:00
2016-07-14 18:13:43 -07:00
2016-08-05 18:43:06 -07:00
2016-08-16 16:20:29 -07:00
2016-08-18 14:53:30 -07:00
2016-08-18 14:53:30 -07:00
2016-08-19 10:32:34 -07:00
2016-06-28 09:30:33 +02:00
2016-08-11 13:13:12 +02:00
2016-07-23 23:27:14 -07:00
2016-05-15 00:03:34 +09:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-23 23:45:00 -07:00
2016-07-26 15:03:04 -07:00
2016-07-14 18:13:43 -07:00
2016-08-01 16:34:46 -07:00
2016-07-14 18:13:43 -07:00
2016-07-14 18:13:43 -07:00
2016-07-08 12:26:48 +09:00
2016-08-09 15:45:25 -07:00
2016-08-18 14:53:30 -07:00
2016-08-16 16:20:29 -07:00
2016-05-24 22:52:21 +09:00
2016-07-07 09:51:22 +02:00
2016-08-15 11:29:03 +10:00
2016-07-07 09:54:14 +02:00
2016-08-08 15:06:49 +02:00
2016-08-18 14:53:30 -07:00
2016-07-07 10:04:22 +02:00
2016-07-08 12:23:48 +02:00
2016-08-18 14:53:30 -07:00
2016-08-18 16:39:16 -07:00
2016-08-11 13:13:12 +02:00
2016-08-01 12:11:57 -07:00
2016-07-06 21:01:33 +02:00
2016-06-22 10:10:16 +01:00
2016-05-20 15:12:55 -03:00
2016-07-04 11:39:46 +09:00
2016-07-19 23:31:29 -07:00
2016-07-27 14:45:58 -07:00
2016-08-18 16:39:16 -07:00
2016-07-14 18:13:43 -07:00
2016-08-18 14:53:30 -07:00
2016-07-27 14:45:58 -07:00
2016-06-19 12:32:02 +09:00
2016-08-16 16:20:29 -07:00
2016-06-19 12:21:54 +09:00
2016-05-25 13:01:45 -05:00
2016-07-29 14:09:07 -07:00
2016-08-30 18:54:16 -07:00
2016-07-04 23:30:36 +09:00
2016-06-19 11:44:49 +09:00
2016-08-03 11:31:16 -07:00
2016-06-08 17:27:20 +09:00
2016-08-18 14:53:30 -07:00
2016-07-14 18:13:43 -07:00
2016-08-11 13:13:12 +02:00
2016-07-23 23:36:29 -07:00
2016-06-27 11:21:03 +02:00
2016-08-01 12:08:50 -07:00
2016-07-19 23:35:10 -07:00
2016-08-18 14:53:30 -07:00
2016-06-21 22:28:32 +00:00
2016-08-03 00:16:35 +09:00
2016-06-19 12:21:39 +09:00
2016-08-01 21:15:43 +04:30
2016-08-05 11:37:14 -05:00
2016-08-18 14:53:30 -07:00
2016-07-27 14:45:58 -07:00
2016-07-17 14:10:40 -04:00
2016-07-29 07:57:01 -07:00
2016-07-27 15:26:26 -07:00

DefinitelyTyped Build Status

Join the chat at https://gitter.im/borisyankov/DefinitelyTyped

The repository for high quality TypeScript type definitions.

For more information see the definitelytyped.org website.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

Contributions

DefinitelyTyped only works because of contributions by users like you!

Please see the contribution guide on how to contribute to DefinitelyTyped.

How to get the definitions

List of definitions

Requested definitions

Here are the currently requested definitions.

License

This project is licensed under the MIT license.

Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.

Analytics

S
Description
No description provided
Readme MIT
395 MiB
Languages
TypeScript 100%