Skip to content

Commit

Permalink
💩 [open-formulieren/open-forms#2177] Temporary solution for typescrip…
Browse files Browse the repository at this point in the history
…t error

The react-leaflet-draw throws an error when building the project. To supress this error, `"skipLibCheck": true` has been added to the tsconfig.json.

I've made a PR to react-leaflet-draw to fix this issue (alex3165/react-leaflet-draw#189).

When the typescript issue is resolved, the `"skipLibCheck": true` config should be removed from the tsconfig.json
  • Loading branch information
robinmolen committed Jan 14, 2025
1 parent 9118592 commit 6a8c36d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"strictNullChecks": true,
"allowSyntheticDefaultImports": true,
"noErrorTruncation": true,
// The `skipLibCheck` is needed to hide a typescript issue in react-leaflet-draw
// see issue for context https://github.com/alex3165/react-leaflet-draw/issues/188.
// When the typescript issue in react-leaflet-draw,
// we should update that dependency and remove this config.
"skipLibCheck": true,
"paths": {
"@/*": ["./*"],
Expand Down

0 comments on commit 6a8c36d

Please sign in to comment.