question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose event typings

See original GitHub issue

Currently, 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:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Yuyz0112commented, May 31, 2019

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:)

0reactions
marcospassoscommented, May 31, 2019

Done in #77, thank you very much! 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found