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 react build script generates types for the media-chrome web components based on GenericForwardRef. While this provides basic typing it doesn't provide definitions for the component's attributes, or React style event handlers (React's onClick vs the DOM onclick). This prevents strict type checking and code completion/hints:
vs
If possible, it would improve DX if each component's attributes were added to the JSX namespace.
The text was updated successfully, but these errors were encountered:
The react build script generates types for the
media-chrome
web components based onGenericForwardRef
. While this provides basic typing it doesn't provide definitions for the component's attributes, or React style event handlers (React'sonClick
vs the DOMonclick
). This prevents strict type checking and code completion/hints:vs
If possible, it would improve DX if each component's attributes were added to the
JSX
namespace.The text was updated successfully, but these errors were encountered: