Skip to content

Commit

Permalink
fix(response-modifier): add explicit any type
Browse files Browse the repository at this point in the history
The Typescript compiler would sometimes complain that `res` had
implicitly the `any` type. This commit fixes this issue.

Change-Id: Ic18492928ad3c828353511c3fddef7b89efd118c
  • Loading branch information
avm99963 committed Dec 6, 2024
1 parent 9c418ab commit daafb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xhrInterceptor/responseModifiers/loadMoreThread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async function loadGap(
},
/* authenticated = */ true,
authuser,
).then((res) => {
).then((res: any) => {
const thread = new ThreadModel(res[1]);
return thread.getMessageOrGapModels();
});
Expand Down

0 comments on commit daafb70

Please sign in to comment.