关于VS:如何让-Visual-Studio-Code-里显示-Cypress-的-intelligent-code-suggestion

如下图所示,把鼠标 hover 在 Visual Studio Code 里关上的 Cypress 代码时:

只会显示 “any”的 popover 对话框进去:

在文件头加上下列这段正文之后:

/// <reference types="Cypress" />

代码主动补全也失效了:

更多Jerry的原创文章,尽在:”汪子熙”:

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理