Skip to content

Commit 907b7f7

Browse files
committed
fix: typing
Signed-off-by: Innei <[email protected]>
1 parent 81b123a commit 907b7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/dashboard/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const DashBoardView = defineComponent({
111111
}
112112

113113
const fetchSiteLikeCount = async () => {
114-
return await RESTManager.api('like_this').get()
114+
return await RESTManager.api('like_this').get<number>()
115115
}
116116

117117
onMounted(async () => {

0 commit comments

Comments
 (0)