common: define HaabYear type

This commit is contained in:
Quantum 2025-07-12 19:52:57 -04:00
parent 3cdbfd8ca0
commit 785f89bf6c

View file

@ -108,8 +108,10 @@ export function jdnHaab(jdn: number): Haab {
}; };
} }
export type HaabYear = number;
export type HaabExt = Haab & { export type HaabExt = Haab & {
year: number, year: HaabYear,
}; };
export function jdnHaabExt(jdn: number): HaabExt { export function jdnHaabExt(jdn: number): HaabExt {