UNPKG

quran-meta

Version:

Library with meta data and functionality related to Holy Quran

12 lines (8 loc) 404 B
import type { SurahListType, SurahName } from "../types" import type { ArrayOfSameLength } from "../ts-utils" export type SurahNames = ArrayOfSameLength<SurahListType, SurahName | []> export const languages = ["en", "az", "ru", "tr", "uz", "kk", "fr", "lt", "tg", "ky", "bs"] as const export type Lang = (typeof languages)[number] export type SurahNamesI18n = { [K in Lang]: SurahNames }