aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools/Hayai.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-01 16:15:37 -0800
committerFuwn <[email protected]>2026-03-01 16:16:50 -0800
commit5e930243be42cb79dc72ee66f12578074e670120 (patch)
treeb11e4504c9ee66c9ed33217d8339f8e61cabcf57 /src/lib/Tools/Hayai.svelte
parentchore(biome): enable svelte linting (diff)
downloaddue.moe-5e930243be42cb79dc72ee66f12578074e670120.tar.xz
due.moe-5e930243be42cb79dc72ee66f12578074e670120.zip
chore(biome): re-enable noImplicitAnyLet rule
Diffstat (limited to 'src/lib/Tools/Hayai.svelte')
-rw-r--r--src/lib/Tools/Hayai.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Tools/Hayai.svelte b/src/lib/Tools/Hayai.svelte
index aa1112da..4de60a9b 100644
--- a/src/lib/Tools/Hayai.svelte
+++ b/src/lib/Tools/Hayai.svelte
@@ -51,7 +51,7 @@ const applyBionicReadingToString = (text: string) =>
.map((word) => {
if (/^\W+$/.test(word) || word.length <= 2) return word;
- let boldLength;
+ let boldLength: number;
if (word.length <= 4) {
boldLength = 2;