Skip to content

Commit dc921df

Browse files
committed
change the type of intervalId
1 parent 1bca3c9 commit dc921df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/pages/instance/InstancePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const InstancePage = ({ routes = [] }: Props) => {
6464
dispatch(getDatabaseConfigInfoAction(connectionInstanceId))
6565
dispatch(fetchConnectedInstanceInfoAction(connectionInstanceId))
6666
dispatch(fetchRecommendationsAction(connectionInstanceId))
67-
let intervalId: NodeJS.Timeout
67+
let intervalId: ReturnType<typeof setInterval>
6868

6969
if (shouldGetRecommendations) {
7070
intervalId = setInterval(() => {

0 commit comments

Comments
 (0)