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
// In globals.d.ts// More in #36 declarenamespaceJSX{typeLabelIntrinsicElement=IntrinsicElements['label'];interfaceIntrinsicElements{'label': LabelIntrinsicElement&{for?: string};}}``
The text was updated successfully, but these errors were encountered:
https://reactjs.org/docs/dom-elements.html#htmlfor
Currently causes this issue when used in TypeScript:
https://stackoverflow.com/questions/39187722/error-ts2339-property-for-does-not-exist-on-type-htmlpropshtmllabelelement
Current TypeScript workaround:
The text was updated successfully, but these errors were encountered: