Skip to content

Add babel.config.js to TypeScript excludes #25

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

Merged
merged 1 commit into from
Feb 4, 2019

Conversation

malord
Copy link

@malord malord commented Feb 4, 2019

On a newly created project, after running setup.js, npm run tsc fails with the error: babel.config.js:1:1 - error TS1208: Cannot compile namespaces when the '--isolatedModules' flag is provided. This patch adds babel.config.js to the exclude setting in tsconfig.json.

…s when the '--isolatedModules' flag is provided.`
@emin93
Copy link
Member

emin93 commented Feb 4, 2019

Hi @malord,

Oh very nice! Thank you for the merge request. Will release a new version with the fix right now.

@emin93 emin93 merged commit 371438e into react-native-community:master Feb 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants