When editing TypeScript files, follow these practices:
- •Write only non-obvious comments, or function jsdoc comments (without redundant type info)
- •Follow the existing codebase patterns and conventions. Maintain consistency with existing types.
- •Use the project's path alias
@/*for imports fromsrc/ - •TanStack Query: Use
useMutationfor mutations (POST/PUT/DELETE),useQueryfor fetching data on client side - •After making changes, ensure they are correct with
pnpm fix. This will run all Biome checks and fixes automatically and check for TS errors.