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

TS1259 error inside greeter.tsx #6

Open
nichita-pasecinic opened this issue Oct 2, 2022 · 1 comment
Open

TS1259 error inside greeter.tsx #6

nichita-pasecinic opened this issue Oct 2, 2022 · 1 comment

Comments

@nichita-pasecinic
Copy link

Awesome guide 👍

On fresh git clone there is an ts error inside greeter.tsx file

TS1259: Module '"C:/pathname/elixir-phoenix-typescript-react/apps/hello_web/assets/node_modules/@types/react/index"' can only be default-imported using the 'esModuleInterop' flag 
@nichita-pasecinic
Copy link
Author

could be resolved by adding a custom tsconfig.json at the root, and this might be the way to go with phoenix & react together

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

No branches or pull requests

1 participant