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

fix: strict type catch error #253

Merged
merged 2 commits into from Sep 2, 2021
Merged

fix: strict type catch error #253

merged 2 commits into from Sep 2, 2021

Conversation

toomuchdesign
Copy link
Collaborator

What kind of change does this PR introduce?

Bug fix

What is the current behaviour?

Ts type check because of TS v4.4 strictCatchClauseTypes option

What is the new behaviour?

Strict type cought error objects.

Does this PR introduce a breaking change?

No

Other information:

Please check if the PR fulfills these requirements:

  • Tests for the changes have been added
  • Docs have been added / updated

@toomuchdesign toomuchdesign merged commit 9eebd83 into master Sep 2, 2021
@toomuchdesign toomuchdesign deleted the fix-ts-catch-error branch September 2, 2021 17:01
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.

None yet

1 participant