-
Notifications
You must be signed in to change notification settings - Fork 510
Add support for Typescript code and React components #6456
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
Conversation
ee2eb94 to
32c9214
Compare
|
One thing I noticed that doesn't work with Prettier is this TS syntax: import type {XXX} from yyy;Prettier reports a syntax error for this line. I think the fix is to just update our prettier version. Otherwise, everything else seems to be working well |
"just" would be a case of "famous last words" considering the mess the new prettier versions are.. :/ so I'd say something to look into outside this PR |
Sure, it's not a blocker anyway, normal imports should work just as well |
|
Anything else here? Can we merge this? |
|
I'll have a look this afternoon :) |
32c9214 to
bcf54bd
Compare
Seems to work without as well, but don't ask me why. Feels cleaner to be explicit though as long as we specify something.
OK, I think this is now ready to be merged. Type checking seems to work OK, but if someone could try it out, I'd be thankful.