Skip to content

Commit

Permalink
refactor: make timeout field optional on the Options class
Browse files Browse the repository at this point in the history
  • Loading branch information
tribiec committed Jul 24, 2024
1 parent f8b0929 commit 5535efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transbank/common/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Options {
* Production, each has a unique URL. */
environment: string;
/** Timeout for requests in milliseconds */
timeout: number;
timeout?: number;

/**
* Create an instance of Options
Expand Down

0 comments on commit 5535efd

Please sign in to comment.