-
Notifications
You must be signed in to change notification settings - Fork 12.8k
interface RegExpMatchArray in lib.es2018.regexp.d.ts #51292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You should enable |
I already have Let's say I want to write a function that consumes named CGs produced by string.match(RegExp) Crude Placeholder Function
There is no issue passing the data produced from a match into this placeholder function.
There is a problem if I want to simulate match output data for testing my function.
For test data (with an embedded
|
This is the intended behavior of index signatures across the board. |
Thanks
…On Mon, Oct 24, 2022 at 7:13 PM Ryan Cavanaugh ***@***.***> wrote:
This is the intended behavior of index signatures across the board.
—
Reply to this email directly, view it on GitHub
<#51292 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEDVV4FTC24SREARHW5NXDDWE4JYHANCNFSM6AAAAAARNKOFDQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow or the TypeScript Discord community. |
lib Update Request
Configuration Check
My compilation target is
es2022
and my lib isthe default
.Missing / Incorrect Definition
Currently in
ts > lib > lib.es2018.regexp.d.ts
:Per the Sample Code below, it looks like the interface should be:
Sample Code
Sample code
Documentation Link
https://github.com/microsoft/TypeScript/blob/main/lib/lib.es2018.regexp.d.ts
The text was updated successfully, but these errors were encountered: