We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12a779 commit ad7538cCopy full SHA for ad7538c
src/utils/helpers.ts
@@ -63,7 +63,7 @@ export function formatSearchQueryString(
63
return `${title} in:title repo:${repo} updated:>${addHours(lastUpdated, -2)}`;
64
}
65
66
-export async function getHtmlUrl(url: string, token: string) {
+export async function getHtmlUrl(url: string, token: string): Promise<string> {
67
const response = await apiRequestAuth(url, 'GET', token);
68
69
return response.data.html_url;
@@ -152,7 +152,7 @@ export async function generateGitHubWebUrl(
152
notification: Notification,
153
accounts: AuthState,
154
): Promise<string> {
155
- let url;
+ let url: string;
156
157
if (notification.subject.latest_comment_url) {
158
url = await getHtmlUrl(
0 commit comments