如何让 Visual Studio Code 里显示 Cypress 的 intelligent code suggestion

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

只会显示 “any”的 popover 对话框出来:

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

/// 

代码自动补全也生效了:

请使用浏览器的分享功能分享到微信等