-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
aria attributes no longer recognized #1383
Labels
question
Further information is requested
Comments
Appear in volar v0.36. |
Additionals: TS2322: Type '{ src: string; alt: string; loading: string; }' is not assignable to type 'ElementAttrs<ImgHTMLAttributes>'.
Property 'loading' does not exist on type 'ElementAttrs<ImgHTMLAttributes>'.
20 <img v-if="layoutProperties.src" :src="layoutProperties.src" :alt="layoutProperties.url" loading="eager" >
~~~~~~~
Type '{ fillRule: string; "fill-rule": "evenodd"; d: string; }' is not assignable to type 'ElementAttrs<SVGAttributes>'.
Property 'fillRule' does not exist on type 'ElementAttrs<SVGAttributes>'. Did you mean ''fill-rule''?
29 <path fill-rule="evenodd" d=""/>
~~~~~~~~~ Attributes in custom inputs TS2322: Type '{ required: boolean; placeholder: string; }' is not assignable to type 'IntrinsicAttributes & Partial<{ i
d: string; }> & Omit<Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { ...; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomP
rops, "id">'.
Property 'required' does not exist on type 'IntrinsicAttributes & Partial<{ id: string; }> & Omit<Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>,
{ ...; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "id">'.
25 <bs-textarea required placeholder="asd"/>
~~~~~~~~ TS2322: Type '{ placeholder: string; }' is not assignable to type 'IntrinsicAttributes & Partial<{ id: string; }> & Omi
t<Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { ...; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "id">'.
Property 'placeholder' does not exist on type 'IntrinsicAttributes & Partial<{ id: string; }> & Omit<Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Prop
s>, { ...; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "id">'.
26 <bs-textarea placeholder="asd"/>
~~~~~~~~~~~ TS2322: Type '{ disabled: boolean; }' is not assignable to type 'IntrinsicAttributes & Partial<{ id: string; }> & Omit<
Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { ...; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "id">'.
Property 'disabled' does not exist on type 'IntrinsicAttributes & Partial<{ id: string; }> & Omit<Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>,
{ ...; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "id">'.
27 <bs-textarea :disabled="true" />
~~~~~~~~ |
adding some more (v0.36.0) svg path attributes fill-rule, stop-color svg use xlink:href ( its deprecated but still needed for ios < 12 ) found solution thanks |
This was referenced Jun 4, 2022
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/henribru/volar-html-attribute-bug
The text was updated successfully, but these errors were encountered: