Skip to content

Commit

Permalink
fix type error on api timeout routine
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesstaffieri committed Aug 31, 2023
1 parent 3d00b5e commit 8cff13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion @shared/api/helpers/extensionMessaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const sendMessageToContentScript = (msg: Msg): Promise<Response> => {
window.location.origin,
);
return new Promise((resolve) => {
let requestTimeout = 0;
let requestTimeout = 0 as unknown as NodeJS.Timeout;

/*
In the case that Freighter is not installed at all, any messages to
Expand Down

0 comments on commit 8cff13d

Please sign in to comment.