• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by Mark DS


29 Nov, 2024

Updated at 02 Dec, 2024

项目里太多的 Property 'value' does not exist on type 'boolean'.

项目用到的技术栈:electron + vue3 + typescript
package.json 文件

    "vue": "^3.5.13",
    "vue-cli-plugin-electron-builder": "^2.1.1",
    "vue-cropper": "^1.0.3",
    "vue-draggable-next": "^2.1.1",
    "vue-fragment": "^1.6.0",
    "vue-router": "^4.0.0-0",
    "vuex": "^4.0.0-0",

    "@typescript-eslint/eslint-plugin": "^4.18.0",
    "@typescript-eslint/parser": "^4.18.0",
    "@vue/cli-plugin-typescript": "~4.5.0",
    "@vue/eslint-config-typescript": "^7.0.0",
    "typescript": "~4.1.5",

但发觉不管怎么修改eslint和tsconfig.json文件。在编译或者构建的时候,总会进行ts的类型检验,只要一条报错,就不能往下进行。有遇到这种情况的没?怎么解决?