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

vue-tsc不通过 resolveComponent不接受可空name #28

Open
k983551019 opened this issue Sep 4, 2022 · 1 comment
Open

vue-tsc不通过 resolveComponent不接受可空name #28

k983551019 opened this issue Sep 4, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@k983551019
Copy link

可复现的链接:

https://github.com/x-extends/vxe-table-plugin-element/blob/master/index.ts

问题描述与截图:

vxe-table-plugin-element/index.ts:694:41 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.

期望的结果:

vue-tsc通过

操作系统:

10

浏览器版本:

版本 104.0.1293.70 (正式版本) (64 位)

vue 版本:

3.2.37

vxe-table 版本:

4.3.2

@k983551019 k983551019 added the bug Something isn't working label Sep 4, 2022
@tianme
Copy link

tianme commented Dec 5, 2022

我也遇到了同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants