From da6557cbf1d248b3034b685d1db5887ee54e2d30 Mon Sep 17 00:00:00 2001 From: Olaf Tomalka Date: Tue, 15 Oct 2024 15:40:16 +0200 Subject: [PATCH] Update tsconfig to support date-fns --- tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 01e09f861..678cefba1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,11 @@ "noErrorTruncation": true, "noUncheckedIndexedAccess": true, "strict": true, - "target": "es2020" + "target": "es2020", + // TODO(ritave): A temporary measure to support date-fns + // which has a problem with CommonJS support + // https://github.com/date-fns/tz/issues/21 + "skipLibCheck": true }, "exclude": ["./dist/**/*"] }