修复VueTypes.extend is deprecated.警告问题

This commit is contained in:
thiszhc 2023-07-15 00:08:11 +08:00
parent 3e64487c60
commit 776b9fbf0c

View File

@ -1,6 +1,5 @@
import { CSSProperties } from 'vue';
import VueTypes, { toType, toValidableType } from 'vue-types'
import { createTypes, VueTypeValidableDef, VueTypesInterface } from 'vue-types';
import VueTypes, { createTypes, toValidableType, VueTypeValidableDef, VueTypesInterface } from 'vue-types';
type PropTypes = VueTypesInterface & {
readonly style: VueTypeValidableDef<CSSProperties>;