Skip to content

Commit a2e6032

Browse files
committed
fix typo
1 parent e55baae commit a2e6032

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/Project.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ type _LwProp<N extends keyof ProjectConstructor> = LwProp<ProjectConstructor, N>
2929
/** 엔트리 작품을 나타낸다. */
3030
export default class Project implements LwInterface<ProjectConstructor> {
3131
id
32-
@Lw("getinfo") name: _LwProp<"name">
33-
@Lw("getinfo") owner: _LwProp<"owner">
34-
@Lw("getinfo") thumbURL: _LwProp<"thumbURL">
35-
@Lw("getinfo") updated: _LwProp<"updated">
36-
@Lw("getinfo") visitCount: _LwProp<"visitCount">
37-
@Lw("getinfo") likeCount: _LwProp<"likeCount">
38-
@Lw("getinfo") recentLikeCount: _LwProp<"recentLikeCount">
39-
@Lw("getinfo") commentCount: _LwProp<"commentCount">
40-
@Lw("getinfo") childCount: _LwProp<"childCount">
32+
@Lw("getInfo") name: _LwProp<"name">
33+
@Lw("getInfo") owner: _LwProp<"owner">
34+
@Lw("getInfo") thumbURL: _LwProp<"thumbURL">
35+
@Lw("getInfo") updated: _LwProp<"updated">
36+
@Lw("getInfo") visitCount: _LwProp<"visitCount">
37+
@Lw("getInfo") likeCount: _LwProp<"likeCount">
38+
@Lw("getInfo") recentLikeCount: _LwProp<"recentLikeCount">
39+
@Lw("getInfo") commentCount: _LwProp<"commentCount">
40+
@Lw("getInfo") childCount: _LwProp<"childCount">
4141
constructor(info: ProjectConstructor) {
4242
this.id = info.id
4343
this.name = info.name!
@@ -61,7 +61,7 @@ export default class Project implements LwInterface<ProjectConstructor> {
6161
this.updated = new Date(res.updated)
6262
this.visitCount = res.visit
6363
this.likeCount = res.likeCnt
64-
this.recentLikeCount = res.recent
64+
this.recentLikeCount = res.recentLikeCnt
6565
this.commentCount = res.comment
6666
this.childCount = res.childCnt
6767
}

0 commit comments

Comments
 (0)