kor-lunar
Version:
한국 음력 변환 유틸 / Korean lunar calendar converter
10 lines (9 loc) • 465 B
TypeScript
import { toLunar, toSolar, LunarData, SolarData, LunarDate, SolarDate } from "./kor-lunar";
declare const korLunar: {
toLunar: (solYear: number, solMonth: number, solDay: number) => LunarDate;
toSolar: (lunYear: number, lunMonth: number, lunDay: number, isLeapMonth: boolean) => SolarDate;
LunarData: typeof LunarData;
SolarData: typeof SolarData;
};
export default korLunar;
export { toLunar, toSolar, LunarData, SolarData, LunarDate, SolarDate };