react-native-typescript-transformer icon indicating copy to clipboard operation
react-native-typescript-transformer copied to clipboard

Using this on 0.59

Open chaotive opened this issue 5 years ago • 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!

chaotive avatar Jun 04 '19 17:06 chaotive