fix(docs): fix typo [skip ci]

This commit is contained in:
Starcea 2024-06-28 00:11:03 +09:00
commit 4d236dc105
No known key found for this signature in database
GPG key ID: B7A77E32374911E1

View file

@ -21,7 +21,7 @@ import Comcigan, { Weekday } from 'comcigan.ts'
const comcigan = new Comcigan() const comcigan = new Comcigan()
const main = async () => { const main = async () => {
const schools = await comcigan.searchSchool('학교 이름') const schools = await comcigan.searchSchools('학교 이름')
const timetable = await comcigan.getTimetable(schools[0].code) const timetable = await comcigan.getTimetable(schools[0].code)
console.log(timetable.getByDay(1, 2, Weekday.Monday)) // 1학년 2반 월요일 시간표 console.log(timetable.getByDay(1, 2, Weekday.Monday)) // 1학년 2반 월요일 시간표