Skip to content

Commit

Permalink
fix(client): timeout id type
Browse files Browse the repository at this point in the history
  • Loading branch information
drochetti committed Jul 23, 2024
1 parent 23f04a2 commit 7c315ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/client/src/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export async function run<Input, Output>(
return send(id, options);
}

type TimeoutId = ReturnType<typeof setTimeout>;
type TimeoutId = ReturnType<typeof setTimeout> | undefined;

const DEFAULT_POLL_INTERVAL = 500;

Expand Down

0 comments on commit 7c315ba

Please sign in to comment.