Skip to content

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

Closed

Description

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)

Activity

  1. added
    Domain: lib.d.ts
    on Jul 1, 2019
  2. added
    Fix Available
    on Aug 28, 2021
  3. locked as resolved and limited conversation to collaborators on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDomain: lib.d.tsFix Available

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy