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.

Type for `Element` changed to `ElementType`: intended?

See original GitHub issue

Before we update our types, just checking if it was intentional to remove the Element type and replace it with ElementType? Getting a TS error with 10.10.4 for h.JSX.Element

https://github.com/preactjs/preact/commit/7d54883b6e45b3d0cc670254c0078cee3a2aaa87#diff-814abe9ce1d0e89a7fa1ef941142487296d1423ffad605dc1188b544056c2bcfL29

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JoviDeCroockcommented, Aug 19, 2022

Sorry about the inconvenience, published as 10.10.5

0reactions
JoviDeCroockcommented, Aug 19, 2022

Sorry about that I jumped into our tests and figured out why this doesn’t show up as an error for us, we have a local override to do namespace testing. Will fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change element type, preserving jQuery event handlers
There are a few questions that ask about changing an element to one of another type, preserving attributes, using jQuery ...
Read more >
<input>: The Input (Form Input) element - HTML
The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide...
Read more >
Change Input Element Type using JavaScript
You can change an input element's type, from text to password, or hidden to text for example, dynamically using JavaScript.
Read more >
Changing element types in a replicated VOB - IBM
In a replicated VOB modifying an element type is prohibited in order to avoid divergence issues. SCENARIO 1: Changing unused element types in...
Read more >
Revit 2021 - Change Element Types
Select an element to change its type. Use the Type Selector to swap the family type assigned to one or more selected elements....
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