fix code quality issues

This commit is contained in:
まっちゃとーにゅ
2024-02-22 08:06:07 +09:00
parent 50caa3fd5c
commit 1dce84dfe3
3 changed files with 10 additions and 24 deletions

View File

@@ -47,9 +47,7 @@ import { instance } from '@/instance.js';
import { miLocalStorage } from '@/local-storage.js';
import * as os from '@/os.js';
const emit = defineEmits<{
(ev: 'closed'): void;
}>();
const emit = defineEmits<(ev: 'closed') => void>();
const zIndex = os.claimZIndex('low');

View File

@@ -10,7 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>
<script lang="ts" setup>
import { computed, watch, onMounted, ref, shallowRef, onUnmounted } from 'vue';
import { watch, onMounted, ref, shallowRef, onUnmounted } from 'vue';
import * as Misskey from 'misskey-js';
import GameSetting from './game.setting.vue';
import GameBoard from './game.board.vue';