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

Update tsconfig.json to use "react-jsx" for JSX. #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jckw
Copy link

@jckw jckw commented Dec 4, 2023

This allows React to be used within JSX files without having to import it directly. This has been possible since v17.

Without it, opening this repo in an editor with TS typechecking available shows a lot of red lines.

CleanShot from Jack Weatherilt 2023-12-04 at 06 54 11

This allows React to be used within JSX files without having to import it directly. This has been possible since v17.
@codyebberson
Copy link
Member

Hi @jckw - thanks for the contribution!

This repo is derived from our monorepo at https://github.com/medplum/medplum - it is automatically synchronized on versioned releases.

Would you mind opening a PR there? No worries if that's too much trouble, we can do it as well.

Thanks, and apologies for the confusion.

@jckw
Copy link
Author

jckw commented Dec 5, 2023

It looks like it already exists in your monorepo example: https://github.com/medplum/medplum/blob/main/examples/medplum-hello-world/tsconfig.json#L16

Possibly an issue with the syncing then / due a re-sync

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.

2 participants