mirror of
https://github.com/YouHaveTrouble/GuildMaster.git
synced 2026-05-11 22:16:59 +00:00
fix a type error
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "adventurers-guild",
|
||||
"version": "0.14.1",
|
||||
"version": "0.14.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -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>;
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user