A personal media tracker built on the AT Protocol opnshelf.xyz
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove unused @ts-expect-error directive

+7 -12
+5 -9
.husky/pre-commit
··· 4 4 5 5 git diff --cached --name-only --diff-filter=ACMR -z >"$staged_files" 6 6 7 - # NOTE: TypeScript typecheck temporarily disabled due to 29 existing errors 8 - # that need router configuration and API updates. Run `pnpm typecheck` manually. 9 - # TODO: Fix remaining type errors and re-enable typecheck before commits. 10 - 11 - # Run type checking (informational only for now) 12 - # pnpm typecheck || { 13 - # rm -f "$staged_files" 14 - # exit 1 15 - # } 7 + # Run type checking first 8 + pnpm typecheck || { 9 + rm -f "$staged_files" 10 + exit 1 11 + } 16 12 17 13 # Run linting/formatting 18 14 pnpm check:write || {
+2 -3
apps/web/src/routes/movies/$movieId/$movieName.tsx
··· 314 314 posterUrl: m.poster_path 315 315 ? `https://image.tmdb.org/t/p/w300${m.poster_path}` 316 316 : "", 317 - // @ts-expect-error - vote_average may exist on TMDB result 318 - rating: m.vote_average 319 - ? Math.round(m.vote_average * 10) / 10 317 + rating: (m as { vote_average?: number }).vote_average 318 + ? Math.round((m as { vote_average?: number }).vote_average! * 10) / 10 320 319 : undefined, 321 320 })) || []; 322 321