update typing to node v24 from v20

This commit is contained in:
zvictor
2026-03-05 12:39:37 -03:00
parent 1f261d90f3
commit e5049a448e
9 changed files with 56 additions and 12 deletions

View File

@@ -444,7 +444,7 @@ const app = await createApp(db as any, {
betterAuthHandler,
resolveSession,
});
const server = createServer(app);
const server = createServer(app as unknown as Parameters<typeof createServer>[0]);
const listenPort = await detectPort(config.port);
if (listenPort !== config.port) {