From 12d53bbc335f7a9cab184887c9e379df7c9bc4d1 Mon Sep 17 00:00:00 2001 From: Auto PR Bot Date: Sun, 7 Jun 2026 03:57:04 +0800 Subject: [PATCH] Improve code quality: auto-pr/type_annotations-1780775824 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e289bffc0e11..dfee62c4b46e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,6 +3,6 @@ import config from "./config.json"; const detector = new PhishingDetector(config); -export default function checkDomain(domain: string) { +export default function checkDomain(domain: string): boolean { return detector.check(domain).result; }