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

Found issue from ts-custom-error on v3.2.0 #372

Closed
Nathan-SL opened this issue Oct 26, 2022 · 1 comment · Fixed by #430
Closed

Found issue from ts-custom-error on v3.2.0 #372

Nathan-SL opened this issue Oct 26, 2022 · 1 comment · Fixed by #430
Assignees
Labels
Type: bug Something isn't working

Comments

@Nathan-SL
Copy link

Encountered an issue when using lib "ts-custom-error": "^3.2.0",

node_modules/ts-custom-error/dist/custom-error.d.ts:3:45 - error TS2304: Cannot find name 'ErrorOptions'.

Here's a fix suggested to set it at "3.2.2" adriengibrat/ts-custom-error#81

@adriengibrat
Copy link

Sorry about that :/ v3.3.1 should build and offer compatibility with Error cause https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/Error#rethrowing_an_error_with_a_cause

@ivpavici ivpavici added the Type: bug Something isn't working label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants