fix: types

This commit is contained in:
Shivam Mishra
2024-12-12 17:57:34 +05:30
parent 5caa24ec58
commit dabde6fad6
2 changed files with 2 additions and 2 deletions
@@ -34,7 +34,7 @@ const props = defineProps({
default: () => ({}),
},
messageType: {
type: String,
type: Number,
required: true,
},
});
@@ -32,7 +32,7 @@ const props = defineProps({
default: () => ({}),
},
messageType: {
type: String,
type: Number,
default: '',
validator: value => Object.values(MESSAGE_TYPES).includes(value),
},