From 6a8c36d961f9819a9522e222b711c97eec88e01b Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Tue, 14 Jan 2025 11:19:11 +0100 Subject: [PATCH] :poop: [open-formulieren/open-forms#2177] Temporary solution for typescript 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 (https://github.com/alex3165/react-leaflet-draw/pull/189). When the typescript issue is resolved, the `"skipLibCheck": true` config should be removed from the tsconfig.json --- tsconfig.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index cc81f0c5..4da61f5c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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": { "@/*": ["./*"],