Skip to content

Commit

Permalink
➕ [#445] Add or update type definitions to address type checker errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Mar 3, 2025
1 parent ca74227 commit df9b1ef
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 30 deletions.
72 changes: 49 additions & 23 deletions package-lock.json

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

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
"immer": "^9.0.6",
"leaflet": "^1.9.4",
"leaflet-draw": "^1.0.4",
"leaflet-geosearch": "^3.8.0",
"leaflet-geosearch": "^4.2.0",
"leaflet-gesture-handling": "^1.2.2",
"microscope-sass": "^2.0.0",
"moment": "^2.29.1",
"proj4leaflet": "^1.0.2",
"react-formio": "^4.3.0",
"react-intl": "^6.4.4",
"react-leaflet": "4.2.1",
"react-leaflet-draw": "^0.20.4",
"react-leaflet-draw": "^0.20.6",
"react-modal": "3.16.1",
"react-number-format": "5.2.2",
"react-router": "^7.1.3",
Expand Down Expand Up @@ -115,21 +115,24 @@
"@storybook/preview-api": "^8.6.3",
"@storybook/react": "^8.6.3",
"@storybook/react-vite": "^8.6.3",
"@storybook/test-runner": "^0.20.0",
"@storybook/test-runner": "^0.22.0",
"@storybook/types": "^8.6.3",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/google.maps": "^3.58.1",
"@types/leaflet": "^1.9.16",
"@types/node": "^20.17.22",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/parser": "^8.19.0",
"@utrecht/component-library-css": "1.0.0-alpha.604",
"@utrecht/component-library-react": "1.0.0-alpha.353",
"@utrecht/components": "1.0.0-alpha.565",
"@utrecht/design-tokens": "1.0.0-alpha.597",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-istanbul": "^3.0.3",
"@vitest/coverage-istanbul": "^3.0.7",
"babel-plugin-formatjs": "^10.3.8",
"babel-plugin-module-resolver": "^4.1.0",
"browserslist": "^4.18.1",
Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"target": "ES2021",
"jsx": "react-jsx",
"declaration": true,
"moduleResolution": "node",
"moduleResolution": "bundler",
"noUnusedLocals": true,
"noUnusedParameters": true,
"esModuleInterop": true,
Expand All @@ -21,7 +21,10 @@
"paths": {
"@/*": ["./*"],
"@/sb-decorators": ["../.storybook/decorators.tsx"]
}
},
"types": [
"vitest/globals"
]
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default defineConfig(({mode}) => {
fakeTimers: {
toFake: ['setTimeout', 'clearTimeout', 'Date'],
},
setupFiles: ['./src/vitest.setup.mjs'],
setupFiles: ['./src/vitest.setup.mts'],
coverage: {
provider: 'istanbul',
include: ['src/**/*.{js,jsx,ts,tsx}'],
Expand Down

0 comments on commit df9b1ef

Please sign in to comment.