ds300 / ds300/react-native-typescript-transformer

Using this on 0.59

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
656
Forks
47
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.