ds300 / react-native-typescript-transformer

Seamlessly use TypeScript with React Native
MIT License
657 stars 55 forks source link

Using this on 0.59 #95

Open chaotive opened 5 years ago

chaotive commented 5 years ago

Hi guys!

I'm trying to update to react native 0.59, but we have used some of the "forbidden" stuff for Typescript on Babel7:

As a consequence, the project cannot compile on metro. It is not clear to me if I can avoid Babel7 and use full-fledged Typescript still, by using react-native-typescript-transformer. Documented configuration has not helped me get this to work either.

Can this be achieved? If so, what would be recommended configuration?

Our projects' configuration is big thought, that's why I'm not pasting it yet. Please let me know if you need further info to provide.

Thanks in advance!