Browse Source

build: 添加 axios 类型定义依赖

yz 1 tuần trước cách đây
mục cha
commit
6f475d2d91
2 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 9 0
      package-lock.json
  2. 1 0
      package.json

+ 9 - 0
package-lock.json

@@ -1666,6 +1666,15 @@
       "dev": true,
       "optional": true
     },
+    "@types/axios": {
+      "version": "0.14.4",
+      "resolved": "https://registry.npmjs.org/@types/axios/-/axios-0.14.4.tgz",
+      "integrity": "sha512-9JgOaunvQdsQ/qW2OPmE5+hCeUB52lQSolecrFrthct55QekhmXEwT203s20RL+UHtCQc15y3VXpby9E7Kkh/g==",
+      "dev": true,
+      "requires": {
+        "axios": "*"
+      }
+    },
     "@types/glob": {
       "version": "7.1.4",
       "resolved": "https://registry.nlark.com/@types/glob/download/@types/glob-7.1.4.tgz",

+ 1 - 0
package.json

@@ -43,6 +43,7 @@
   "devDependencies": {
     "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
     "@babel/plugin-proposal-optional-chaining": "^7.21.0",
+    "@types/axios": "^0.14.4",
     "@vue/cli-plugin-babel": "^3.1.1",
     "@vue/cli-plugin-eslint": "^3.1.5",
     "@vue/cli-service": "^3.1.4",