Remove extra declaration

This commit is contained in:
2024-08-24 22:59:02 +02:00
parent 2a8e253f4f
commit 8b8c50551f
7 changed files with 7 additions and 14 deletions

View File

@@ -10,8 +10,7 @@ export default async function loadCronEvents() {
for (const file of cronFiles) {
const filePath = path.join(cronPath, file)
const { default: cronImport } = await import("file://" + filePath)
const cron: ICron = cronImport
const { default: cron } = await import("file://" + filePath) as { default: ICron }
const time =
cron.time.seconds + " " +