Skip to content

Refactor tsconfig files to include JSX option#70

Open
sahitmandapati wants to merge 3 commits into
dicedb:masterfrom
sahitmandapati:user/sahit/fix-compiler-options
Open

Refactor tsconfig files to include JSX option#70
sahitmandapati wants to merge 3 commits into
dicedb:masterfrom
sahitmandapati:user/sahit/fix-compiler-options

Conversation

@sahitmandapati

@sahitmandapati sahitmandapati commented Oct 14, 2024

Copy link
Copy Markdown

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.

Comment thread apps/playground-web/tsconfig.json Outdated
{
"extends": "@dicedb/typescript-config/nextjs.json",
"compilerOptions": {
"jsx": "react",

Copy link
Copy Markdown
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?

@sahitmandapati sahitmandapati Oct 15, 2024

Copy link
Copy Markdown
Author

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
Copy Markdown
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
Copy Markdown
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

@KaviiSuri KaviiSuri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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