Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

自从做过一个用ts写的项目之后,不是ts的文件也会进行检测,

谷歌了之后,都说要禁用第二张图中的东西,第一个JavaScript确实有效,js文件不报错了,可是html中的还是会警告,请问如何才能让typescript不检测呢

图片.png

图片.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
4.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

这个TS没关系,这个是验证的html里面的class名称, 可能是你安装了 htmlhint 之类的插件搞出来的


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...