commit 29f3eeee7537233b3ab0bffb37e7326e3e244544
parent cff1d9374186c212462af3497b503236917ce467
Author: Henry Unite <unitehenry@gmail.com>
Date: Thu, 26 Feb 2026 08:13:48 +0000
chore: linter
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/app.ts b/app.ts
@@ -86,5 +86,5 @@ app.get("/health", (req, res) => res.sendStatus(200));
const port: number = parseInt(process.env.PORT || "3000", 10);
app.listen(port, (): void => {
- log('INFO', `Server running on port ${port}`);
+ log("INFO", `Server running on port ${port}`);
});
diff --git a/log.ts b/log.ts
@@ -1,7 +1,4 @@
-type LogLevel =
- |'INFO'
- |'WARN'
- |'ERROR';
+type LogLevel = "INFO" | "WARN" | "ERROR";
export default function log(
level: LogLevel,