fix a type error

This commit is contained in:
2025-05-11 17:03:28 +02:00
parent 972b9251c3
commit ae89704380
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -22,9 +22,9 @@ export default defineComponent({
}),
props: {
adventurers: {
type: Object as PropType<{ [key: string]: Adventurer }>,
type: Object as PropType<Array<Adventurer>>,
default() {
return {} as { [key: string]: Adventurer };
return [] as Array<Adventurer>;
},
},
},