Remove deprecated TypeScript baseUrl from frontend configs

Open Beginner friendly
#1,802 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
90/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
json, typescript
Domain
build-system

Research direction

Read frontend/tsconfig.json and frontend/tsconfig.node.json, then check how their existing paths entries resolve without baseUrl. Remove the deprecated option from both configs and run the project's type checks; done when both configs pass and the @/* aliases still resolve as described in the issue.

Written by the indexing model from the issue text.

Description

bug enhancement
Problem
  • TypeScript 6.0 deprecates the baseUrl compiler option. Editors using TypeScript 6.0 can flag "baseUrl": "." in frontend/tsconfig.json and frontend/tsconfig.node.json.
  • Both configs already map @/* to ./src/*, which TypeScript resolves relative to each config file when baseUrl is omitted.
Proposed Solution or Cleanup:

Remove "baseUrl": "." from both configs and keep the existing paths entries. This resolves the deprecation without requiring a TypeScript version bump.

Screenshots:

PictoPy Right Now:

Screenshot 2026-12-01 at 11 45 28 AM

{Throwing Warnings}

Problem Solution and Explaination:
  • Keeping baseUrl: "."( current ) — @/utils/dateUtils goes to frontend/src/utils/dateUtils.ts. TypeScript also treats frontend/ as an extra place to look for imports like utils/dateUtils without the @/.

  • Remove baseUrl( Proposed Cleanup ) — @/utils/dateUtils goes to the same file because paths already maps @/* to ./src/*. The extra lookup in frontend/ goes away.

PictoPy’s imports didn’t need that extra lookup, so removing it clears the deprecation without changing how the app works.

Verification

I tested the two-line removal locally with the project's TypeScript 5.1.6. Both configs passed type checking. Frontend lint, formatting, and all 502 Jest tests passed.

TypeScript 6.0 release notes

Dominant language
Python
Stars
322
Forks
793
Avg merge
6d 10h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/PictoPy

All issues in AOSSIE-Org/PictoPy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.