-
Notifications
You must be signed in to change notification settings - Fork 516
vue-tsc 使用 --skipLibCheck 编译选项仍然会检查 node_module 目录中qiniu-js导致检查通过 #619
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
Comments
同样的问题,请问有解决方法不 |
在 链接 中提供了两种方法, 经过验证后,确认可以通过 vuejs/language-tools#592 (reply in thread) 中提供的方法来解决。
|
更多方案与使用细节参照: vuejs/language-tools#2018 (comment) |
可以了,我把要用的类型复制到替换的d.ts里就好了,感谢感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在使用 七牛云 对象存储SDK时引入官方 JavaScript V3 的依赖 qiniu-js 运行 vue-tsc 检查时发现很多问题. 通过查询文档得知可以增加 --skipLibCheck 参数解决三方库的检查问题,但增加参数后发现并无法正常工作。
项目使用的依赖情况
vue-tsc: ^0.38.4
vite: ^3.0.0
typescript: ^4.6.4
qiniu-js: ^3.4.1
执行如下命令
输出
The text was updated successfully, but these errors were encountered: