Skip to content

fix(frontend): remove deprecated baseUrl for TypeScript 6 compatibility#705

Merged
wpfleger96 merged 1 commit into
mainfrom
fix/typescript-v6
May 21, 2026
Merged

fix(frontend): remove deprecated baseUrl for TypeScript 6 compatibility#705
wpfleger96 merged 1 commit into
mainfrom
fix/typescript-v6

Conversation

@wpfleger96
Copy link
Copy Markdown
Collaborator

@wpfleger96 wpfleger96 commented May 21, 2026

Summary

  • Remove "baseUrl": "." from both desktop/tsconfig.json and web/tsconfig.json
  • TypeScript 6 deprecated baseUrlpaths now resolves relative to the tsconfig.json location without it
  • The "@/*": ["./src/*"] path mapping uses relative paths, so it resolves correctly without baseUrl
  • No "types" array needed — the project intentionally omits @types/node (Vite polyfills process.env at bundle time, desktop already has a @ts-expect-error for the Node global)
  • Unblocks Renovate PR chore(deps): update dependency typescript to v6 #669 (TypeScript ~5.9 → ~6.0)

TypeScript 6 deprecated baseUrl — paths now resolve relative to
tsconfig.json without it. Removes baseUrl from both desktop and web
tsconfigs so Renovate's TS 6 upgrade PR can pass CI.
@wpfleger96 wpfleger96 requested a review from a team as a code owner May 21, 2026 21:01
@wpfleger96 wpfleger96 merged commit 6fe5578 into main May 21, 2026
15 checks passed
@wpfleger96 wpfleger96 deleted the fix/typescript-v6 branch May 21, 2026 21:40
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