We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi again,
How do we want to model https://developer.mozilla.org/en-US/docs/Web/API/DOMException? Just as an interface or do we want to tied this to Error.t somehow?
The text was updated successfully, but these errors were encountered:
In TypeScript there isn't overlap between an Error and a DomException so they should probably be different types in ReScript as well.
Error
DomException
Sorry, something went wrong.
That is not entirely true it seems: https://github.com/microsoft/TypeScript/blob/0ec4d30a6e2ebbc87292c9829378d4e98de8ef43/src/lib/dom.generated.d.ts#L6397-L6433
Although MDN does not seem to mention this.
No branches or pull requests
Hi again,
How do we want to model https://developer.mozilla.org/en-US/docs/Web/API/DOMException?
Just as an interface or do we want to tied this to Error.t somehow?
The text was updated successfully, but these errors were encountered: