使用的vue2.0中使用的vue-property-decorator,在二次封装ant-design-modal时报了ts类型错误 : Property 'props' does not exist on type 'typeof Modal'.
import { Component, Vue } from 'vue-property-decorator'
import { Modal } from 'ant-design-vue'
const ModalProps = Vue.extend({
props: { ...Modal.props },
})
@Component({})
export default class BaseModal extends ModalProps {}
报错发生在 props: {...Modal.props}这一行,即使我判断Modal是否存在props属性貌似也不可行,请教下这里该怎么写