New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Update tsconfig to address type checking issues #10104
base: main
Are you sure you want to change the base?
Conversation
…to address type checking issues
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How does the |
Co-authored-by: codershiba <155646804+codershiba@users.noreply.github.com>
"skipLibCheck": true | ||
"skipLibCheck": true, | ||
"strictNullChecks": true, | ||
"allowImportingTsExtensions": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should only be enabled for deno/bun, not every TS project! 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add
"strictNullChecks": true,
"allowImportingTsExtensions": true
Please describe the changes this PR makes and why it should be merged:
This PR updates the
tsconfig.json
file by enablingstrictNullChecks
,noEmit
, andallowImportingTsExtensions
options. These changes improve the type checking process by ensuring that null and undefined values are handled correctly, preventing type-related runtime errors. Furthermore, thenoEmit
option is set to true to enable type-checking without compiling the code, suitable for our current build process.Status and versioning classification: