diff --git a/types/node-ipc/index.d.ts b/types/node-ipc/index.d.ts index 92eaaea49d..4eed4dc739 100644 --- a/types/node-ipc/index.d.ts +++ b/types/node-ipc/index.d.ts @@ -287,7 +287,7 @@ declare namespace NodeIPC { * if set, it represents the maximum number of retries after each disconnect before giving up * and completely killing a specific connection */ - maxRetries: boolean; + maxRetries: boolean | number; /** * Default: false * Defaults to false meaning clients will continue to retry to connect to servers indefinitely at the retry interval.