我在Visual Studio Code 中打开了“ Check JS ”设置,它允许你像TypeScript 一样键入检查你的JS 文件。 Visual Studio Code 通过JSDoc/@type 注释“启用”类型检查。
確定! 回上一頁