-
Notifications
You must be signed in to change notification settings - Fork 48
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
Compiler does not report error when compiling #35
Comments
Can you give an example? Syntax errors should be reported, but lint and type errors are not expected to be reported. See #13 for more details about why. |
Well, what I expect is exactly to report the type errors not only syntax errors, I wish this could be a feature to implement as an option. |
@yuwenhuisama One way to get that feature is to use: https://github.com/callstack/haul. Which is a replacement for the React Native Packager. They have a typescript setup example: https://github.com/callstack/haul/blob/master/docs/Recipes.md. |
I'm going to close this issue because it's a duplicate of #29 — if you feel this is a separate issue, please feel free to open another issue and link to this one 🙏 |
For react native, when there are compile errors, ts still dose not report them while tslint has marked them.
The text was updated successfully, but these errors were encountered: