Skip to content

Commit 8cb8f77

Browse files
authored
fix(ui): Add module declaration for css modules due to Typescript 6: noUncheckedSideEffectImports (#4117)
We updated typescript version to 6, which have a check for side imports, causing build failures in ui, due to tailwind config css Performed the solution mentioned here in the example: https://www.typescriptlang.org/tsconfig/#noUncheckedSideEffectImports
1 parent de63a32 commit 8cb8f77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/global.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Recognize all CSS files as module imports.
2+
// https://www.typescriptlang.org/tsconfig/#noUncheckedSideEffectImports
3+
declare module '*.css' {}

0 commit comments

Comments
 (0)