Пропсы в классовых компонентах vue3

Переписываю код с vue2 + ts на vue3 + ts. Использую классовые компоненты, но при определении пропсов возникает ошибка: Argument of type ... is not assignable to parameter of type 'Vue'.

import { Prop } from 'vue-property-decorator';
import { Options, Vue } from 'vue-class-component';

export default class MyComponent extends Vue {
  @Prop({ type: [Number, String], default: 0 })
  min!: number | string;
} 

Ответы (0 шт):