ds300/react-native-typescript-transformer

Using this on 0.59

chaotive opened this issue · 0 comments

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:

  • Namespaces
  • Imports with require

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!