From a22397a74b1a7166a161bee3e79b968af1d54518 Mon Sep 17 00:00:00 2001 From: Grant Gurvis Date: Mon, 11 Mar 2024 17:26:06 -0700 Subject: [PATCH] feat(types): add timeout to `ExecuteCommandInput` --- types/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/index.d.ts b/types/index.d.ts index c1943d05..85a7916b 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -256,6 +256,11 @@ declare namespace Fig { * The environment variables to set when executing the command, `undefined` will unset the variable if it set */ env?: Record; + /** + * Duration of timeout in milliseconds, if the command takes longer than the timeout a error will be thrown. + * @defaultValue 5000 + */ + timeout?: number; }; /**