Skip to content

Commit

Permalink
fix: ts issues
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Maldonado <[email protected]>
  • Loading branch information
md0x committed Jan 21, 2025
1 parent a24d24a commit 31e12e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/libexec/RelayerSpokePoolIndexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async function run(argv: string[]): Promise<void> {
providers.forEach((provider) => {
const { _websocket: ws } = provider;
const _provider = getOriginFromURL(provider.connection.url);
let interval: NodeJS.Timer | undefined;
let interval: NodeJS.Timeout | undefined;
let timeout: NodeJS.Timeout | undefined;

const closeProvider = () => {
Expand Down Expand Up @@ -301,6 +301,6 @@ if (require.main === module) {
.finally(async () => {
await disconnectRedisClients();
logger.debug({ at: "RelayerSpokePoolIndexer", message: `Exiting ${chain} listener.` });
exit(process.exitCode);
exit(Number(process.exitCode));
});
}
2 changes: 1 addition & 1 deletion src/libexec/SpokePoolListenerExperimental.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ if (require.main === module) {
.finally(async () => {
await disconnectRedisClients();
logger.debug({ at: "RelayerSpokePoolListener", message: `Exiting ${chain} listener.` });
exit(process.exitCode);
exit(Number(process.exitCode));
});
}

0 comments on commit 31e12e2

Please sign in to comment.