From f21ba1137fae94bf02308edde49b53d293af5c6c Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 3 Mar 2025 17:33:39 +0100 Subject: [PATCH] :wrench: [#445] Enable skipLibCheck, unfortunately We get some conflicts from leaflet libraries and some @storybook/test shenanigans, additionally there are some errors from react-use. It's not feasible to address these right now since we're aiming to get a foot in the door and get started with typing our own code. The offending files: Found 12 errors in 8 files. Errors Files 1 node_modules/@open-formulieren/leaflet-tools/lib/rd.d.ts:8 1 node_modules/@vitest/expect/dist/chai.d.cts:16 3 node_modules/react-leaflet-draw/src/index.d.ts:4 3 node_modules/react-leaflet/lib/LayersControl.d.ts:9 1 node_modules/react-leaflet/lib/SVGOverlay.d.ts:11 1 node_modules/react-use/lib/useEnsuredForwardedRef.d.ts:1 1 node_modules/react-use/lib/usePermission.d.ts:10 1 node_modules/vitest/node_modules/@vitest/expect/dist/chai.d.cts:16 Hopefully in the future we can re-enable this again. --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index b77d4a754..a32e23c56 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,6 +18,7 @@ "allowSyntheticDefaultImports": true, "noErrorTruncation": true, "allowJs": true, + "skipLibCheck": true, "paths": { "@/*": ["./*"], "@/sb-decorators": ["../.storybook/decorators.tsx"]