Skip to content

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

Closed
@Ionaru

Description

@Ionaru

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFix AvailableA PR has been opened for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions