ds300 / react-native-typescript-transformer

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

Added explicit error message when tsconfig.json is not found #58

Closed vyshkant closed 6 years ago

vyshkant commented 6 years ago

Previous behavior was not very clear: the only error message was "package.json not found in path" and I did not have any idea what does it mean.

The behavior proposed in this PR assumes catching the error of the find-root module and throwing a more meaningful error.

ds300 commented 6 years ago

Sweet, that looks good! Thanks! :bow:

ds300 commented 6 years ago

This is published in 1.2.5 now. Thanks again!