import { isoly } from "isoly" import { isly } from "isly" import { Dates } from "./Dates" export namespace Holidays { export type Regions = (typeof Regions.values)[number] export namespace Regions { export const values = ["England", "Wales", "Scotland", "Northern Ireland"] as const export const type = isly.string(values) } export const dates: Record[]> = { England: Dates.englandAndWales, Wales: Dates.englandAndWales, Scotland: Dates.scotland, "Northern Ireland": Dates.northernIreland, } }