Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: make timeout optional #101

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

tribiec
Copy link
Contributor

@tribiec tribiec commented Jul 24, 2024

This pull request modifies the Options class by making the timeout field optional.

Previously, the timeout field was already optional in the Options constructor. However, if a user tries to pass the Options parameter as an object and not an instance of the Options class, TypeScript will throw an error due to the missing timeout field.

Copy link

sonarcloud bot commented Jul 24, 2024

Copy link
Member

@mastudillot mastudillot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@gasspper gasspper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mastudillot mastudillot merged commit 1e17a90 into develop Jul 25, 2024
4 checks passed
@mastudillot mastudillot deleted the refactor/make-timeout-optional branch July 25, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants