Node now supports Regexp hasIndices -- typescript does not. #44227
Labels
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
ES Next
New featurers for ECMAScript (a.k.a. ESNext)
Fix Available
A PR has been opened for this issue
Rescheduled
This issue was previously scheduled to an earlier milestone
Suggestion
An idea for TypeScript
Milestone
Bug Report
π hasIndices
Node 16 supports indices, TypeScript does not.
π Version & Regression Information
When I discovered the feature in Node 16
β― Playground Link
π Actual behavior
In Node it works
WIth Typescript, it is flagged as an error
π Expected behavior
New features. await support in ESNext.
The text was updated successfully, but these errors were encountered: