VueDx falsely assumes incorrect type for `@Component` from `vue-property-decorator`
vegerot opened this issue · comments
Max Coplan commented
Describe the bug
VueDx falsely assumes incorrect type for @Component
from vue-property-decorator
Expected behavior
For there to be no error
Screenshots/Recording
Info (please complete the following information):
Environment Info:
System:
OS: macOS 11.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 15.9.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.5.4 - /usr/local/bin/npm
Browsers:
Chrome: 89.0.4389.47
Edge: Not Found
Firefox: 78.7.1
Safari: 14.1
npmPackages:
@types/vue-moment: 4.0.2 => 4.0.2
@vue/babel-helper-vue-jsx-merge-props: 1.2.1
@vue/babel-helper-vue-transform-on: 1.0.2
@vue/babel-plugin-jsx: 1.0.2
@vue/babel-plugin-transform-vue-jsx: 1.2.1
@vue/babel-preset-app: 4.5.11
@vue/babel-preset-jsx: 1.2.4
@vue/babel-sugar-composition-api-inject-h: 1.2.1
@vue/babel-sugar-composition-api-render-instance: 1.2.4
@vue/babel-sugar-functional-vue: 1.2.2
@vue/babel-sugar-inject-h: 1.2.2
@vue/babel-sugar-v-model: 1.2.3
@vue/babel-sugar-v-on: 1.2.3
@vue/cli-overlay: 4.5.11
@vue/cli-plugin-babel: 4.5.11 => 4.5.11
@vue/cli-plugin-e2e-cypress: 4.5.11 => 4.5.11
@vue/cli-plugin-eslint: 4.5.11 => 4.5.11
@vue/cli-plugin-pwa: 4.5.11 => 4.5.11
@vue/cli-plugin-router: 4.5.11 => 4.5.11
@vue/cli-plugin-typescript: 4.5.11 => 4.5.11
@vue/cli-plugin-unit-jest: 4.5.11 => 4.5.11
@vue/cli-plugin-vuex: 4.5.11 => 4.5.11
@vue/cli-service: 4.5.11 => 4.5.11
@vue/cli-shared-utils: 4.5.11
@vue/component-compiler-utils: 3.2.0
@vue/eslint-config-standard: 6.0.0
@vue/eslint-config-typescript: 7.0.0
@vue/preload-webpack-plugin: 1.1.2
@vue/test-utils: 1.1.3
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: 7.6.0
jest-serializer-vue: 2.0.2
js-cookie-vue: 1.0.8 => 1.0.8
typescript: 4.1.5 => 4.1.5 (3.9.7)
vue: 2.6.12 => 2.6.12
vue-class-component: 7.2.6 => 7.2.6
vue-cli-plugin-moment: 0.1.1 => 0.1.1
vue-cli-plugin-vuetify: 2.1.0 => 2.1.0
vue-eslint-parser: 7.2.0 (7.5.0)
vue-hot-reload-api: 2.3.4
vue-jest: 3.0.7
vue-loader: 15.9.6 (16.1.2)
vue-moment: 4.1.0 => 4.1.0
vue-property-decorator: 9.1.2 => 9.1.2
vue-router: 3.5.1 => 3.5.1
vue-style-loader: 4.1.2
vue-template-compiler: 2.6.12 => 2.6.12
vue-template-es2015-compiler: 1.9.1
vuetify: 2.4.4 => 2.4.4
vuex: 3.6.2 => 3.6.2
vuex-class: 0.3.2 => 0.3.2
npmGlobalPackages:
@vue/cli: 4.5.11
Additional context
I can verify this code is correct, because the DateScroller
component is being used