fix(docs): fix typo [skip ci]
This commit is contained in:
parent
3bcd813576
commit
4d236dc105
1 changed files with 1 additions and 1 deletions
|
|
@ -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반 월요일 시간표
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue