quran-meta
Version:
Library with meta data and functionality related to Holy Quran
12 lines (8 loc) • 360 B
text/typescript
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"] as const
export type Lang = typeof languages[number]
export type SurahNamesI18n = {
[K in Lang]: SurahNames
}