📜  缺少文件扩展名“ts” - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:09.180000             🧑  作者: Mango

代码示例1
"_comment": "ADD THIS TO YOUR '.eslintrc.json' FILE"

"rules": {
   "import/extensions": [
      "error",
      "ignorePackages",
      {
        "js": "never",
        "jsx": "never",
        "ts": "never",
        "tsx": "never"
      }
   ]
}