You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The changes in TS 5.1 ended up not being helpful. Neither will 5.2.
There is an active TypeScript issue about a feature that would allow correctly typechecking children of JSX elements: microsoft/TypeScript#14729
Currently, the following problems exist:
util.jsxCreateElement
is slowdocument.createElement
is the culprit, maybe switch to string templatingjsx.d.ts
is morally wrongchildren
correctly (not all HTML elements can contain all other HTML elements)The text was updated successfully, but these errors were encountered: