fix: typing

This commit is contained in:
фырат ёздэн
2025-12-14 08:16:09 +03:00
committed by GitHub
parent 51abf49458
commit 371cf83e52
+1 -1
View File
@@ -267,7 +267,7 @@ const excludedCleanupAllCommands: (keyof typeof cleanupCommands)[] = [
]; ];
export const cleanupAll = async (serverId?: string) => { export const cleanupAll = async (serverId?: string) => {
for (const [key, command] of Object.entries(cleanupCommands)) { for (const [key, command] of Object.entries(cleanupCommands) as [keyof typeof cleanupCommands, string][]) {
if (excludedCleanupAllCommands.includes(key)) continue; if (excludedCleanupAllCommands.includes(key)) continue;
try { try {