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

路由的ts接口AppRouteRecordRaw定义感觉是有问题的 #145

Closed
hanxiaoluan opened this issue Dec 23, 2020 · 0 comments
Closed

路由的ts接口AppRouteRecordRaw定义感觉是有问题的 #145

hanxiaoluan opened this issue Dec 23, 2020 · 0 comments

Comments

@hanxiaoluan
Copy link

Subject of the issue

如果把router下的types.d.ts改为types.ts文件那就会报错,AppRouteRecordRaw接口定义报错,这从本质上并没有起到ts的静态检查结果

environment

  • OS:
  • *- Env:

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

编译失败

anncwb added a commit that referenced this issue Dec 23, 2020
@anncwb anncwb closed this as completed Dec 23, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants