ds300/react-native-typescript-transformer

Jest tests fail with RN >= 52 because transformer doesn't return transpiled text, only ast

ds300 opened this issue · 2 comments

ds300 commented

Not really sure what to do about this, except add babel-generator to the mix. But that'd be in the jest transformer wrapper, not in this package

Actually it almost unusable until jest will add ability to handle source maps for transformed files, because retain lines does not help with typescript. Some links:

I did experiments with various variants, and still my transformer looks almost like that from comment.