Expose event typings
See original GitHub issueCurrently, the event typings are not exported from the index.d.ts
, making it inaccessible for external libraries.
Could you consider exposing it? 😃 Accessing the event-related types would be very helpful.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Should Events expose DOM Event parameters in their typings?
One: Leave things as is - Synthetic events are not exposed in the typings. This stops people digging into event hooks even when...
Read more >React Event Handlers with TypeScript | Building SPAs
In this post, we'll cover how to implement React event handlers that have strongly-typed parameters with TypeScript.
Read more >TypeScript, event handlers in the DOM, and the this keyword
In this quick post you'll learn how to make TypeScript play well with the infamous this keyword when working with event handlers in...
Read more >Forms and Events - React TypeScript Cheatsheets
List of event types ; FormEvent, Event that occurs whenever a form or form element gets/loses focus, a form element value is changed...
Read more >What Typescript type is Angular2 event - Stack Overflow
The event you passed through $event is a DOM event, therefore you can use the EventName as the type. In your case this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, I will have time to do this in the weekend. So feel free to make a PR if you need it in a hurry:)
Done in #77, thank you very much! 😃