Compiler does not report error when compiling
yuwenhuisama opened this issue · 4 comments
yuwenhuisama commented
For react native, when there are compile errors, ts still dose not report them while tslint has marked them.
ds300 commented
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.
yuwenhuisama commented
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.
RubenSandwich commented
@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.