Skip to content

Fix TypeScript 7 CSS import typecheck - #67

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/fix-ts7-css-types-ebae
Aug 10, 2026
Merged

Fix TypeScript 7 CSS import typecheck#67
cursor[bot] merged 1 commit into
mainfrom
cursor/fix-ts7-css-types-ebae

Conversation

@Modsofthenation

Copy link
Copy Markdown
Owner

Summary

PR #54 bumped TypeScript to 7.0.2, which fails UI typecheck on import "./styles.css" (TS2882).

Fix

Add apps/ui/src/vite-env.d.ts with Vite client types + *.css module declaration.

Verification

  • Without file: TS2882 on main.tsx
  • With file: pnpm --filter @prm/ui typecheck passes
Open in Web Open in Cursor 

Declare *.css modules via vite-env.d.ts so tsc accepts the styles
side-effect import after the TypeScript 7 bump.

Co-authored-by: Damon  <Modsofthenation@users.noreply.github.com>
@cursor
cursor Bot merged commit 2e32ebe into main Aug 10, 2026
1 check passed
@cursor
cursor Bot deleted the cursor/fix-ts7-css-types-ebae branch August 10, 2026 23:34
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Modsofthenation, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 19 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: fe8c9fae-b128-43bb-9056-25a3ed30ad65

📥 Commits

Reviewing files that changed from the base of the PR and between 5a2c0e0 and 63d667c.

📒 Files selected for processing (1)
  • apps/ui/src/vite-env.d.ts

Comment @coderabbitai help to get the list of available commands.

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.

2 participants