fix: resolve lint and typecheck issues

This commit is contained in:
Misaka
2026-03-21 09:33:07 +08:00
parent 2fba07fd8f
commit 2b4a09dabe
26 changed files with 356 additions and 336 deletions

View File

@@ -85,7 +85,7 @@ app.whenReady().then(async () => {
}
}
}
} catch (e) {
} catch {
// Ignore
}
@@ -165,7 +165,7 @@ process.on('uncaughtException', async (err) => {
setTimeout(() => process.exit(1), 1000)
})
process.on('unhandledRejection', async (reason, promise) => {
process.on('unhandledRejection', async (reason) => {
logger.error('Unhandled Rejection', { reason: String(reason) })
await logAudit('SYSTEM_ERROR', 'system', {
username: 'system',