Skip to content

Commit

Permalink
fix(web): install Webpack types definitions
Browse files Browse the repository at this point in the history
They allows to avoid some type errors like

`Property 'hot' does not exist on type 'NodeModule'`

See https://stackoverflow.com/a/55318758
  • Loading branch information
dgdavid committed Jul 12, 2024
1 parent 0d3874b commit 804aa4d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.12",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"ajv": "^8.12.0",
Expand Down

0 comments on commit 804aa4d

Please sign in to comment.