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

escape() function not marked as deprecated in lib.es5.d.ts #32191

Closed
Ionaru opened this issue Jul 1, 2019 · 0 comments · Fixed by #43710
Closed

escape() function not marked as deprecated in lib.es5.d.ts #32191

Ionaru opened this issue Jul 1, 2019 · 0 comments · Fixed by #43710
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fix Available A PR has been opened for this issue
Milestone

Comments

@Ionaru
Copy link

Ionaru commented Jul 1, 2019

TypeScript Version: 3.6.0-dev.20190701

Search Terms: escape, unescape, deprecated

Code

const text = escape('Does this need escaping?')

Expected behavior:
escape is marked as deprecated, as per MDN and w3schools documentation.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape
https://www.w3schools.com/jsref/jsref_escape.asp

Actual behavior:
escape is not marked as deprecated.

Related Issues:
#18813 (closed), #8639 (not the same issue)

@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Jul 1, 2019
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Jul 1, 2019
@RyanCavanaugh RyanCavanaugh added the Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript label Jul 1, 2019
@typescript-bot typescript-bot added the Fix Available A PR has been opened for this issue label Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fix Available A PR has been opened for this issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants