Add jsdoc documentation

This commit is contained in:
0x1eef 2024-05-15 21:55:57 -03:00
parent deae96fc4b
commit bbceeec340

View file

@ -20,7 +20,10 @@ class Quran {
locale: TLocale;
surahs: Surah[];
static get locales(): Array<TLocale> {
/**
* @returns {Array} The available locales
*/
static get locales(): TLocale[] {
return ["ar", "en"];
}