Skip to content

chore(deps): update dependency typescript to v6#1046

Merged
B4nan merged 2 commits intomasterfrom
renovate/typescript-6.x
Mar 25, 2026
Merged

chore(deps): update dependency typescript to v6#1046
B4nan merged 2 commits intomasterfrom
renovate/typescript-6.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 23, 2026

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5.8.3^6.0.0 age confidence

Release Notes

microsoft/TypeScript (typescript)

v6.0.2

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from vladfrangu as a code owner March 23, 2026 19:13
@renovate renovate bot force-pushed the renovate/typescript-6.x branch 2 times, most recently from 1c44404 to 0af42f7 Compare March 25, 2026 10:37
@renovate renovate bot force-pushed the renovate/typescript-6.x branch from 0af42f7 to fe0e71a Compare March 25, 2026 15:06
@B4nan
Copy link
Member

B4nan commented Mar 25, 2026

@copilot try to fix the build error

Run yarn build
src/commands/actors/pull.ts:197:60 - error TS2339: Property 'sourceType' does not exist on type 'never'.

197     throw new Error(`Unknown source type: ${correctVersion.sourceType}`);
                                                               ~~~~~~~~~~


Found 1 error in src/commands/actors/pull.ts:197

Copy link
Contributor

Copilot AI commented Mar 25, 2026

@copilot try to fix the build error

...

Fixed in 7188e15. TypeScript 6 narrows correctVersion to never in the default branch since the union is exhaustive. Extracting sourceType before the switch prevents this narrowing so it remains usable in the error message.

Copilot AI requested a review from B4nan March 25, 2026 15:13
@B4nan B4nan merged commit 0e5e3a9 into master Mar 25, 2026
43 checks passed
@B4nan B4nan deleted the renovate/typescript-6.x branch March 25, 2026 15:24
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