Closed SamChou19815 closed 3 years ago
Enable "resolveJsonModule": true so that TS will ensure the imported json matches the declared interface. It can prevent future type mispatch.
"resolveJsonModule": true
Things can still pass type check in CI.
[diff-counting] Significant lines: 27.
[deployment-bot] Deployed to https://603aceabbf1ef7e4cdca864e--cornelldti-old.netlify.app.
Summary
Enable
"resolveJsonModule": true
so that TS will ensure the imported json matches the declared interface. It can prevent future type mispatch.Test Plan
Things can still pass type check in CI.