Skip to content

chore: bump typescript to 7.0.2#4252

Open
tido64 wants to merge 2 commits into
mainfrom
tido/bump-typescript
Open

chore: bump typescript to 7.0.2#4252
tido64 wants to merge 2 commits into
mainfrom
tido/bump-typescript

Conversation

@tido64

@tido64 tido64 commented Jul 14, 2026

Copy link
Copy Markdown
Member

Description

Bumps TypeScript to to 7.0.2

Test plan

n/a

@tido64 tido64 Jul 14, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This was rewritten to workaround a crash:

panic: Unknown parent for parameter: KindArrowFunction [recovered, repanicked]

goroutine 1003 [running]:
sync.(*WaitGroup).Go.func1.1()
        sync/waitgroup.go:251 +0x48
panic({0x10573bd60?, 0x166c6ea855b0?})
        runtime/panic.go:860 +0x12c
github.com/microsoft/typescript-go/internal/transformers/declarations.getParameterDeclarationTypeVisibilityDiagnosticMessage(0x0?, {0x2, {0x0, 0x0, 0x0}, {0x166c6f41ec80, 0xd}, 0x166c6ea60708, {0x166c6f735260, 0x66}})
        github.com/microsoft/typescript-go/internal/transformers/declarations/diagnostics.go:431 +0x420
github.com/microsoft/typescript-go/internal/transformers/declarations.createGetSymbolAccessibilityDiagnosticForNode.wrapSimpleDiagnosticSelector.func9({0x2, {0x0, 0x0, 0x0}, {0x166c6f41ec80, 0xd}, 0x166c6ea60708, {0x166c6f735260, 0x66}})
        github.com/microsoft/typescript-go/internal/transformers/declarations/diagnostics.go:20 +0x5c
github.com/microsoft/typescript-go/internal/transformers/declarations.(*SymbolTrackerImpl).handleSymbolAccessibilityError(0x166c6ed1d740, {0x2, {0x0, 0x0, 0x0}, {0x166c6f41ec80, 0xd}, 0x166c6ea60708, {0x166c6f735260, 0x66}})
        github.com/microsoft/typescript-go/internal/transformers/declarations/tracker.go:211 +0x8c
github.com/microsoft/typescript-go/internal/transformers/declarations.(*SymbolTrackerImpl).TrackSymbol(0x166c6ed1d740, 0x0?, 0x166c6ea961e0?, 0x0?)
        github.com/microsoft/typescript-go/internal/transformers/declarations/tracker.go:194 +0xb0
github.com/microsoft/typescript-go/internal/checker.(*SymbolTrackerImpl).TrackSymbol(0x166c715a1380, 0x166c716c03a8, 0x166c6ea60708, 0xc09e8)

Upstream issue: microsoft/typescript-go#4629

@github-actions github-actions Bot added the feature: jest This is related to Jest label Jul 14, 2026
@tido64 tido64 force-pushed the tido/bump-typescript branch from fe806ab to 258dee0 Compare July 14, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: jest This is related to Jest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant