Skip to content
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

Refactor tsconfig files to include JSX option #70

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sahitmandapati
Copy link

@sahitmandapati sahitmandapati commented Oct 14, 2024

This pull request includes changes to the TypeScript configuration files for both the playground-web and ui packages. The changes primarily focus on formatting and updating compiler options to ensure consistency and compatibility with the project setup.

Changes to apps/playground-web/tsconfig.json:

  • Added jsx compiler option set to react.

Changes to packages/ui/tsconfig.json:

  • Added jsx compiler option set to react.

@@ -1,13 +1,16 @@
{
"extends": "@dicedb/typescript-config/nextjs.json",
"compilerOptions": {
"jsx": "react",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you do this in typescript-config/nextjs.json?

Copy link
Author

@sahitmandapati sahitmandapati Oct 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @AjayPoshak did you mean to remove these in

  • apps/playground-web/tsconfig.json
    
  • packages/ui/tsconfig.json
    

and add here ?

  • typescript-config/nextjs.json

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should have common config placed there

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feedback. please check now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants