Closed Dunqing closed 11 months ago
Looks to be right to me, because component can be many things, the generated runtime type
is null
, that's expected and intended.
The type is correct or the prop contains
skipCheck: true
Not sure what you mean by this, where wouldskipCheck
come from?
Not sure what you mean by this, where would
skipCheck
come from?
Sorry I still don't understand what's the issue, null
should not have any check done.
Sorry I still don't understand what's the issue,
null
should not have any check done.
Thank you I understand. At first I thought the null type was incorrect. cc @zernonia
Just to confirm, here's an example of null
without any warning or error
Vue version
latest
Link to minimal reproduction
https://play.vuejs.org/#__DEV__eNp9kU1PwzAMhv+KlctAmjah3UYpArQDHGCCHXOpWrfLSJ0oSbeiqv8dp9U+DrCb7fd1/NjpxJO1s32DYikSnztlA3gMjQWdUfUgRfBSpJJUbY0L0MGL4YiQAvRQOlPDhJsnkgosFeHaGeuTThJk/nF5Nt9L6tObW0nJfBzCT3ISsLY6C8gZQLK9Szc/FuHgDFXJnNPov/CIKePkhkpVzXbeEDPHUSBFzoOURvdhgzLEyEsYlKhlWpvD21ALrsHpsZ5vMf/+o77zbaxJsXbo0e1RipMWMldhGOXV1zu2HJ/E2hSNZvcV8RO90U1kHG3PDRWMfeEbaF+HayuqNn7VBiR/XCqCRmc/+KXg28cb/7f6GXcxWwx9/A+i/wXqeKcQ
Steps to reproduce
Look at the js panel, you can see the
as
prop's type isnull
What is expected?
The type is correct or the prop contains
skipCheck: true
What is actually happening?
type is
null
System Info
No response
Any additional comments?
For more info refer https://github.com/radix-vue/shadcn-vue/issues/187