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

[Need Help] Webstorm还是有类型错误提示 #146

Closed
robin-dongbin opened this issue Jul 19, 2022 · 4 comments
Closed

[Need Help] Webstorm还是有类型错误提示 #146

robin-dongbin opened this issue Jul 19, 2022 · 4 comments
Labels
question Further information is requested

Comments

@robin-dongbin
Copy link

robin-dongbin commented Jul 19, 2022

问题描述 Problem Description

(#121 (comment))

其他信息 Other information

OS: MacOs 12.4
IDE: 全新安装的 WebStorm 2022.1.3
version: 2.0.0-rc.3

@robin-dongbin robin-dongbin added the question Further information is requested label Jul 19, 2022
@John60676
Copy link
Member

image

还是像上次一样,我这边均无法重现。

测试环境是 vite 新创建的。

你要不提供一个可重现的示例?

@robin-dongbin
Copy link
Author

Webstorm 官网新下的,项目是Vite新建的
image
image
image

@robin-dongbin
Copy link
Author

问题出在script不指定lang=ts

@John60676
Copy link
Member

如果你要有类型支持,请加上 lang="ts"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants