-
Notifications
You must be signed in to change notification settings - Fork 65
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
issue with type definitions for sanitize-html #7
Comments
Do you have |
ahh yep I do |
It is pretty unusual to have that enabled in your project. I will leave this open as I am unsure as to what is the underlying issue, but it is not an issue that I will prioritize. I suspect it is some odd mismatch between package and your project |
@lucgagan facing the same issue |
I have the same issue :) |
Having this issue as well, using the default project created by calling Might be worth looking into if this is the 'default' out of box experience when using Playwright |
🎉 This issue has been resolved in version 1.12.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
It seems like I'm getting invalid javascript generated from sanitizeHtml.ts
this code
turns into
which fails with
If i manually adjust the javascript file in dist to be like
it all seems to work... looking at the underlying type in https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/sanitize-html/index.d.ts it seems correct to me...
The text was updated successfully, but these errors were encountered: