修复VueTypes.extend is deprecated.警告问题
This commit is contained in:
parent
3e64487c60
commit
776b9fbf0c
@ -1,6 +1,5 @@
|
|||||||
import { CSSProperties } from 'vue';
|
import { CSSProperties } from 'vue';
|
||||||
import VueTypes, { toType, toValidableType } from 'vue-types'
|
import VueTypes, { createTypes, toValidableType, VueTypeValidableDef, VueTypesInterface } from 'vue-types';
|
||||||
import { createTypes, VueTypeValidableDef, VueTypesInterface } from 'vue-types';
|
|
||||||
|
|
||||||
type PropTypes = VueTypesInterface & {
|
type PropTypes = VueTypesInterface & {
|
||||||
readonly style: VueTypeValidableDef<CSSProperties>;
|
readonly style: VueTypeValidableDef<CSSProperties>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user