fix over 30 ts errors

This commit is contained in:
2023-03-25 00:36:42 +01:00
parent 28295e69d5
commit b89d041064
6 changed files with 22 additions and 9 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
</span>
<span
title="Dismiss"
:class="{disabled: Object.keys(adventurers).length <= 0}"
:class="{disabled: Object.keys(this.adventurers).length <= 0}"
@click="dismissAdventurer()"
>
@@ -64,7 +64,7 @@ export default defineComponent({
adventurers: {
type: Object as PropType<{ [key: string]: Adventurer }>,
default() {
return {};
return {} as { [key: string]: Adventurer };
},
},
lastRecruitTime: {