refactor(frontend): widgets/server-metric内の型エラーを除去 (#12937)

This commit is contained in:
zyoshoka
2024-01-07 23:56:46 +09:00
committed by GitHub
parent fd519f5def
commit 0e536bdd86
13 changed files with 103 additions and 30 deletions

View File

@@ -37,7 +37,7 @@ export class ServerStatsService implements OnApplicationShutdown {
const log = [] as any[];
ev.on('requestServerStatsLog', x => {
ev.emit(`serverStatsLog:${x.id}`, log.slice(0, x.length ?? 50));
ev.emit(`serverStatsLog:${x.id}`, log.slice(0, x.length));
});
const tick = async () => {