Skip to content

Commit bdd558b

Browse files
committed
Bump typescript from 5.33 to 6.0.3 in /web
TypeScript 6 added stricter checking (TS2882) for side-effect imports of non-TS files (e.g. `import './App.css'`), requiring an ambient module declaration. Added `declare module "*.css"` to src/declaration.d.ts alongside the existing *.svg/underscore declarations.
1 parent 284ae85 commit bdd558b

3 files changed

Lines changed: 42 additions & 269 deletions

File tree

web/package-lock.json

Lines changed: 40 additions & 268 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"react-bootstrap-icons": "^1.4.0",
1919
"react-dom": "^18.2.0",
2020
"react-router-dom": "7.17.0",
21-
"typescript": "^5.3.3",
21+
"typescript": "^6.0.3",
2222
"underscore": "^1.13.8",
2323
"vite": "^6.4.2",
2424
"vite-tsconfig-paths": "^6.1.1"

web/src/declaration.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
declare module "*.svg"
2+
declare module "*.css"
23
declare module "underscore"

0 commit comments

Comments
 (0)