johnsoncodehk / vue-tsc

vue-tsc --noEmit && vite build
https://www.npmjs.com/package/vue-tsc
MIT License
241 stars 6 forks source link

Named slots on component template tag giving error. #82

Closed dbethel-nib closed 3 years ago

dbethel-nib commented 3 years ago

Error:

"Property 'name' does not exist on type '{} | {}'.

Whenever using v-slot or "#" shorthand on component "template" tag.

    "@types/node": "^15.14.9",
    "@typescript-eslint/eslint-plugin": "^4.31.1",
    "@typescript-eslint/parser": "^4.31.1",
    "@vitejs/plugin-vue": "^1.6.2",
    "@vue/compiler-sfc": "^3.2.11",
    "@vue/eslint-config-prettier": "^6.0.0",
    "@vue/eslint-config-typescript": "^7.0.0",
    "autoprefixer": "^10.3.4",
    "eslint": "^7.32.0",
    "eslint-plugin-prettier": "^3.4.1",
    "eslint-plugin-vue": "^7.17.0",
    "husky": "^6.0.0",
    "lint-staged": "^11.1.2",
    "postcss": "^8.3.7",
    "prettier": "^2.4.0",
    "tailwindcss": "^2.2.15",
    "typescript": "^4.4.3",
    "vite": "^2.5.7",
    "vite-plugin-eslint": "^1.3.0",
    "vue-tsc": "^0.3.0"

Using Vue3.

johnsoncodehk commented 3 years ago

Please provide a minimum reproduce.

johnsoncodehk commented 3 years ago

This repo has been deprecated, please open a new issue to volar with a repro case if the problem still on.