JSX element type 'X__VLS_' does not have any construct or call signatures.
See original GitHub issueJSX element type ‘X__VLS_’ does not have any construct or call signatures.
I have this component in my source code:
<script lang="ts">
import type { QInputProps } from 'quasar';
import { QInput } from 'quasar';
import { defineComponent } from 'vue';
// @ts-expect-error: We know what we are doing
export default defineComponent<QInputProps>({
...QInput,
...{
props: {
...QInput.props,
outlined: { type: Boolean, default: true },
},
},
name: 'DInput',
inheritAttrs: true,
});
</script>
<template lang="pug">
QInput(v-model="modelValue", :outlined="outlined ?? true")
</template>

It shows this warning when updating Volar to 0.40.2, with 0.40.1 everything was working and it showed no errors
I’m still on TS 4.7.4 and not 4.8
Using vue-tsc
and @volar/pug-language-service
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
JSX element type Elem does not have any construct or call ...
What you want is a function that takes a constructor for React. ... Type '(props: myProps) => Element' provides no match for the...
Read more >JSX element type does not have any construct or call ... - GitHub
Should output normal as TypeScript 3.1.6. Actual behavior: TS2604: JSX element type 'Comp' does not have any construct or call signatures.
Read more >JSX element type does not have any construct or call signatures
The error "JSX element type does not have any construct or call signatures" occurs when we try to pass an element or a...
Read more >jsx element type does not have any construct or call ... - You.com
JSX element type 'Student' does not have any construct or call signatures. You get this kind of error because you tried to pass...
Read more >TypeScript Error "element type does not have any construct or ...
Hello all, I am new to react and typescript and I am getting an error that I don't quite understand From my file...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry because I found it not so easy to fix, may have to rewrite lot of the code, but will soon.
@Shinigami92 It’s planed to fix in v0.40.12.