Skip to content
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

Update for TS 5.6 #3221

Merged
merged 5 commits into from
Sep 9, 2024
Merged

Update for TS 5.6 #3221

merged 5 commits into from
Sep 9, 2024

Conversation

jakebailey
Copy link
Member

I had most of this change locally already while testing a 5.7 PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, these files are now generated

<p>Initializes a TypeScript project and creates a tsconfig.json file.</p>
</td></tr>

<tr class='odd' name='listFilesOnly'>
<tr class='even' name='listFilesOnly'>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -834,12 +840,13 @@
"esnext.decorators",
"esnext.object",
"esnext.regexp",
"esnext.iterator",
"decorators",
"decorators.legacy"
]
},
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for my understanding, could you tell me what these pattern changes mean?

Copy link
Member Author

@jakebailey jakebailey Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These options are case insensitive, so this is just the absolutely ridiculous regex to verify the union of a bunch of strings

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a better world, the regex syntax would accept syntax like (?i), but JS doesn't have that syntax, it puts it outside the regex expression and a load of consuming tools do not parse out strings like "/blah/i"

@jakebailey jakebailey merged commit a0f9636 into microsoft:v2 Sep 9, 2024
8 checks passed
@jakebailey jakebailey deleted the ts-5.6 branch September 9, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants