Skip to content
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

不能将类型“{ show: boolean; }”分配给类型“ComponentProps<number>”。 不能将类型“{ show: boolean; }”分配给类型“number”。ts(2322) #40

Closed
JCAlways opened this issue Dec 14, 2022 · 5 comments

Comments

@JCAlways
Copy link

不能将类型“{ show: boolean; }”分配给类型“ComponentProps”。
不能将类型“{ show: boolean; }”分配给类型“number”。ts(2322)

@javaLuo
Copy link
Owner

javaLuo commented Jan 14, 2023

<Vcode :show="true" />

是这样吗

@reaishenghuodezhu
Copy link

reaishenghuodezhu commented Jan 26, 2023

<script lang="ts" setup>
这里指定ts后会报下面这个,但是不会影响使用
image

@javaLuo
Copy link
Owner

javaLuo commented Jan 27, 2023

我看看

@JCAlways
Copy link
Author

image
image
image
可能是这边名命的问题

@javaLuo
Copy link
Owner

javaLuo commented Mar 22, 2023

我已经把名称改了
TS问题

@javaLuo javaLuo closed this as completed Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants