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
生成.d.ts时部分文件丢失 #42
Comments
看到中文真亲切,我也遇到了相同的问题。 |
|
已删除这个依赖,本身上面的demo对这个并不影响。因为没有使用到 |
这应该是出现了类型错误导致文件无法生成(除了少数错误不会导致文件 你可以通过添加 PS1:默认跳过类型诊断的初衷是因为有效率更高的 PS2:我使用 vscode 打开一些文件已经直接报出了许多类型错误( |
我去试试 我用webstorm 打开是没有任何类型错误的 我先用vue3 tsc查一遍看看 |
更新:
所以
|
目前我定位到一个问题,项目中的 至于 以前的一个版本,我在 当前可以规避这个问题的做法是,在 '<script>' 中不要使用 |
好的 非常感谢你的帮助 emm 有木有联系方式 加个好友 以后有机会多多向你请教 |
emm. 我又来了,如图
当前有这两个文件,且在对外暴露的index.ts文件中有引入
但构建之后 丢失
这两个文件。结果如下
demo
The text was updated successfully, but these errors were encountered: