We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如果把router下的types.d.ts改为types.ts文件那就会报错,AppRouteRecordRaw接口定义报错,这从本质上并没有起到ts的静态检查结果
把@/router/types.d.ts改为types.ts
🎉 BONUS POINTS for creating a minimal reproduction and uploading it to GitHub. This will get you the fastest support. 🎉
和ts文件一样不报错,编译通过
编译失败
The text was updated successfully, but these errors were encountered:
fix(types): fix routing type error #145
b6e5c3f
No branches or pull requests
Subject of the issue
如果把router下的types.d.ts改为types.ts文件那就会报错,AppRouteRecordRaw接口定义报错,这从本质上并没有起到ts的静态检查结果
environment
Steps to reproduce
把@/router/types.d.ts改为types.ts
🎉 BONUS POINTS for creating a minimal reproduction and uploading it to GitHub. This will get you the fastest support. 🎉
Expected behaviour
和ts文件一样不报错,编译通过
Actual behaviour
编译失败
The text was updated successfully, but these errors were encountered: