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

Add constructor types #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fiznool
Copy link

@fiznool fiznool commented Mar 20, 2020

Trying to instantiate these error classes in TypeScript yielded a warning, since there was no constructor types, it was falling back to the default Error constructor (expecting a single message string argument).

Disclaimer: there might be a better way to implement this without all the duplication, but that would require more TypeScript skills than I currently possess.

@fiznool
Copy link
Author

fiznool commented Jul 2, 2020

Hi there, just bumping this.

CI appears to be failing on an unrelated issue.

@fiznool
Copy link
Author

fiznool commented Aug 18, 2020

Hello, any news on if/when this could be merged? It's bitten me again today.

@paskhaver
Copy link

Ran into this issue today as well. Can it please be merged?

@koskimas koskimas force-pushed the master branch 7 times, most recently from 2cfd284 to 7258cf0 Compare August 3, 2021 05:41
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

2 participants