Skip to content

Commit

Permalink
feat(types): add timeout to ExecuteCommandInput
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Mar 12, 2024
1 parent b93b600 commit a22397a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string | undefined>;
/**
* Duration of timeout in milliseconds, if the command takes longer than the timeout a error will be thrown.
* @defaultValue 5000
*/
timeout?: number;
};

/**
Expand Down

0 comments on commit a22397a

Please sign in to comment.