forked from FoundKeyGang/FoundKey
add return type to tick() in time.vue
This commit is contained in:
parent
fd2028df48
commit
b79cb711ac
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ const relative = $computed(() => {
|
|||
return i18n.ts._ago.future;
|
||||
});
|
||||
|
||||
function tick() {
|
||||
function tick(): void {
|
||||
// TODO: パフォーマンス向上のため、このコンポーネントが画面内に表示されている場合のみ更新する
|
||||
now = new Date();
|
||||
|
||||
|
|
Loading…
Reference in a new issue