Skip to content

Commit

Permalink
Update tsconfig to support date-fns
Browse files Browse the repository at this point in the history
  • Loading branch information
ritave committed Oct 15, 2024
1 parent da16490 commit da6557c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*"]
}

0 comments on commit da6557c

Please sign in to comment.