Add types for RegExp.escape #61321
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
ES Next
New featurers for ECMAScript (a.k.a. ESNext)
⚙ Compilation target
esnext
⚙ Library
esnext
Missing / Incorrect Definition
The RegExp.escape proposal has landed and will be included in es2025.
Sample Code
Documentation Link
https://github.com/tc39/proposal-regex-escaping
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/escape
The text was updated successfully, but these errors were encountered: