-
Notifications
You must be signed in to change notification settings - Fork 12.8k
add types for escape and unescape methods #18813 #19015
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
Conversation
although the issue is marked working as expected, it is important to mention that most major browsers maintain support for escape and unescape, and some javascript codebases moving to typescript may have escape and unescape in them. They are valid JavaScript, and thus they should be included in the global definition.
Thanks for the contribution. but the omission of these functions from the library is intentional. please see #18813 (comment) |
@mhegazy - In the current ES Draft spec, as well as in MDN I see no reference to escape / unescape being deprecated anymore. What is your reference for it still being deprecated? |
u are right. there does not seem to be a deprecation notice any longer. |
@wbhob mind refreshing the PR and addressing the failing tests? |
@@ -1,14 +1,14 @@ | |||
/*! ***************************************************************************** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not change this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that was automatically generated
I'll look into fixing those tests soon |
🎉 Yay! Thank you |
Although the issue is marked working as expected, it is important to mention that most major browsers maintain support for escape and unescape, and some javascript codebases moving to typescript may have escape and unescape in them. They are valid JavaScript, and thus they should be included in the global definition.
Fixes #18813