Skip to content

Commit 8ab607f

Browse files
committed
fix(webapp): declare the non.geist font modules for typecheck
The side-effect CSS imports in root.tsx have no type declarations, so tsc fails with TS2882.
1 parent 27220b6 commit 8ab607f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/webapp/remix.env.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
/// <reference types="@remix-run/dev" />
22
/// <reference types="vite/client" />
33
/// <reference types="@remix-run/node/globals" />
4+
5+
// Font packages that resolve to CSS — imported for their side effect only.
6+
declare module "non.geist";
7+
declare module "non.geist/mono";

0 commit comments

Comments
 (0)