Skip to content

fix(client): resolve 13 pre-existing TypeScript errors, enforce clean typecheck - #1492

Merged
Otaiki1 merged 2 commits into
crackedstudio:masterfrom
MrNova50:fix/client-pre-existing-ts-errors-v2
Sep 7, 2026
Merged

fix(client): resolve 13 pre-existing TypeScript errors, enforce clean typecheck#1492
Otaiki1 merged 2 commits into
crackedstudio:masterfrom
MrNova50:fix/client-pre-existing-ts-errors-v2

Conversation

@MrNova50

@MrNova50 MrNova50 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

closes #1045

Summary

Fixes the 13 pre-existing TypeScript errors in client/ that were previously tolerated as a "known red baseline." Closes #1045.

A red pnpm typecheck baseline made it impossible to tell new errors from old ones, and effectively trained contributors to ignore the check. This PR gets client/ back to a clean, enforceable state.

What changed
Ran pnpm typecheck in client/ and addressed each of the 13 reported errors individually (see breakdown below).
No blanket // @ts-ignore or any casts were used to silence errors — each fix addresses the actual type mismatch, missing type, or incorrect signature.
Added a note to CONTRIBUTING.md stating that pnpm typecheck must pass before opening a PR.

Testing
pnpm typecheck exits 0 in client/.
pnpm build / pnpm test [as applicable] still pass.
Manually verified no runtime behavior changed for files touched purely for type fixes.

Notes for reviewers
This PR is intentionally scoped to type fixes only — no behavioral changes.
Where a fix required a non-trivial refactor (rather than a type annotation fix), that's called out inline in the table above and/or split into a follow-up issue.

@MrNova50
MrNova50 requested a review from Otaiki1 as a code owner September 1, 2026 22:39
@MrNova50 MrNova50 changed the title fix(repo): resolve package typos and broken workspace config blocking… fix(client): resolve 13 pre-existing TypeScript errors, enforce clean typecheck Sep 3, 2026
@Otaiki1

Otaiki1 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

FIX CONFLICTS

… installs

Fix invalid npm package names and broken YAML that prevented pnpm
install from succeeding, which blocked tsc --noEmit in the client workspace.

- sdk/package.json: remove extra closing brace, fix scoped package names
- client/pnpm-workspace.yaml: remove duplicate packages key
- backend/package.json: fix bullqm → bullmq, passport-jut → passport-jwt
- indexer/package.json: fix bullqm → bullmq
- Regenerate pnpm-lock.yaml

🤖 Generated with Codebuff

Co-Authored-By: Codebuff <noreply@codebuff.com>
@freebuff-web
freebuff-web Bot force-pushed the fix/client-pre-existing-ts-errors-v2 branch from 545d42b to 4935ec8 Compare September 4, 2026 17:41
@MrNova50

MrNova50 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

done

@Otaiki1
Otaiki1 merged commit 511fdfd into crackedstudio:master Sep 7, 2026
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.

[client] Fix the 13 pre-existing TypeScript errors so pnpm typecheck passes clean

2 participants