Skip to content

Commit b31d5cd

Browse files
pionxzhclaude
andcommitted
fix: add explicit ApiConversations type annotation to resolve TS7022
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0e17703 commit b31d5cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ export async function fetchAllConversations(project: string | null = null, maxCo
555555
let cursor: string | number = 0 // project conversations use alphanumeric cursors
556556
while (true) {
557557
try {
558-
const result = project === null
558+
const result: ApiConversations = project === null
559559
? await fetchConversations(offset, limit)
560560
: await fetchProjectConversations(project, cursor, limit)
561561
if (!result.items) {

0 commit comments

Comments
 (0)