-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript types do no support "dataSet" attribute in 0.13.3 #1668
Comments
Someone needs to update the TS types wherever they are maintained |
Sorry, I assumed they were maintained here. Do you know who is the maintainer? |
I don't know who the maintainer is. I started a discussion about this if you would like to share your experience #1684 |
Does anyone know how to implement a workaround for this property? (typescript project-scope definition) |
This was referenced Jun 5, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem
Based on the latest release, the recommended approach to pass
data-
attributes to a view isdataSet
but it appears the types have not been updated to reflect this.Based on the release notes I should be able to do this:
However, when passing
dataSet
I get a TS error (see below)How to reproduce
Create a Typescript React component with
dataSet
:View TS errors.
Expected behavior
I don't get TS errors for a supported attribute.
Environment (include versions). Did this work in previous versions?
Typescript error:
The text was updated successfully, but these errors were encountered: