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
You can try config vueCompilerOptions.dataAttributes = [] in tsconfig.
yes, this might resolve the issue. Thank you. It's not marked as a breaking change in the changelogs and I guess many people are using data attributes like data-test, data-cy, data-test-id, and so on and gonna see quite a lot of errors when they update their volar extension tomorrow.
some Props written as camel case now break the typing when referred to with hyphens inside the components.
to reproduce: create a new app with create-vue and update vue-tsc/vscode and use dataCamelCase for defining a component property like below:
using the hyphen syntax for defining the prop in a vue template will cause a type error since version 1.0.x
seems to work as intended when not using 'data' as the first word when defining a property
The text was updated successfully, but these errors were encountered: