Skip to content

Commit 2d9b3d0

Browse files
committed
refactor: use number instead of inferred constant value
1 parent 90368c7 commit 2d9b3d0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/constants.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
export const WORKFLOW_FETCH_TIMEOUT_MS = 60 * 1000;
2-
export const WORKFLOW_JOB_STEPS_RETRY_MS = 5000;
3-
export const WORKFLOW_JOB_STEPS_SERVER_ERROR_RETRY_MAX = 3;
4-
export const WORKFLOW_JOB_STEPS_SERVER_ERROR_RETRY_MS = 500;
1+
/* eslint-disable @typescript-eslint/no-inferrable-types */
2+
3+
export const WORKFLOW_FETCH_TIMEOUT_MS: number = 60 * 1000;
4+
export const WORKFLOW_JOB_STEPS_RETRY_MS: number = 5000;
5+
export const WORKFLOW_JOB_STEPS_SERVER_ERROR_RETRY_MAX: number = 3;
6+
export const WORKFLOW_JOB_STEPS_SERVER_ERROR_RETRY_MS: number = 500;

0 commit comments

Comments
 (0)