We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b473d4f commit 5c5ef18Copy full SHA for 5c5ef18
packages/archive/src/lib/list.ts
@@ -72,7 +72,8 @@ export default async function getPostList(
72
!(post.id in saved) || // 没有保存过亦如此
73
(post.recentReply && // 有回复并
74
(!saved[post.id] || // 上一次保存时没有回复或
75
- saved[post.id] < post.recentReply.id)), // 存在更新的回复(该 id 随时间单调递增)
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
76
+ saved[post.id]! < post.recentReply.id)), // 存在更新的回复(该 id 随时间单调递增)
77
)
78
.map((post) => post.id);
79
}
0 commit comments