From 4b35f73faea5f71ff6a3797d4463dfc92e289fac Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 22 Oct 2024 09:02:51 -0300 Subject: [PATCH] Update src/index.ts --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e6e1de9..2544573 100644 --- a/src/index.ts +++ b/src/index.ts @@ -96,7 +96,7 @@ class Surah { get ayat(): Ayah[] { const ayat = require(`@json/${this.locale}/${this.id}.json`); - return ayat.map(([id, body]) => { + return ayat.map(([id, body]: [number, string]) => { const ms = Quran.durations[this.id - 1][id - 1] * 1000; return new Ayah({ id, body, ms }); });