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 TypeScript, Jest, ts-jest #60

Merged
merged 3 commits into from
Aug 1, 2023
Merged

Update TypeScript, Jest, ts-jest #60

merged 3 commits into from
Aug 1, 2023

Conversation

danvk
Copy link
Owner

@danvk danvk commented Aug 1, 2023

This involved regenerating snapshots (Jest snapshot format changed) and updating one test (newer TypeScript displays the type differently).

@@ -331,7 +331,8 @@ describe('ts-checker', () => {
test('type assertion with ellipsis', () => {
expect(
checkAssertions(dedent`
type T = keyof string[]; // type is number | "length" | "toString" | ...
Copy link
Owner Author

Choose a reason for hiding this comment

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

With recent TS, this displays as type T = keyof string[].

@danvk danvk merged commit 2f82c68 into master Aug 1, 2023
1 check passed
@danvk danvk deleted the ts-updates branch August 1, 2023 14: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.

1 participant