ES2018 RegExp named capture groups not supported with esnext library #22082
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
TypeScript Version: 2.8.0-dev.20180221
Search Terms: RegExp named capture groups; description
Code
Expected behavior:
It should compile with esnext (ES2018) library compiler option.
Actual behavior:
Property 'groups' does not exist on type 'RegExpMatchArray'.
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: