fix: TypeData error type

This commit is contained in:
chenshenhai 2021-08-06 10:33:53 +08:00
parent cc6f395a51
commit 7cd885e03c

View file

@ -5,10 +5,12 @@ type TypeDataBase = {
bgColor?: string;
}
type TypeData = TypeDataBase & {
type TypeData = {
elements: TypeElement<keyof TypeElemDesc>[];
bgColor?: string;
}
export {
TypeData,
TypeDataBase,