Joel Söderström
Joel Söderström
AFAIK there is no official support in `tsconfig.json` for that, so you have to use for example `ttypescript` which provides more options like you want: https://github.com/madou/typescript-transformer-handbook#consuming-transformers https://github.com/cevek/ttypescript#compileroptions
> Try adding "json" to your metro.config.js `sourceExts` section. Super! Saved my day, same issue for me and and same resolution. Perhaps this issue can be closed then?
Got hit by this as well. FWIW - we are using this wrapper hook as a workaround. It's based on @doxylee's comment above. Haven't really battle tested it that much,...
AFAIK it seems like Objective-C code actively asks for the unedited version: https://github.com/ivpusic/react-native-image-crop-picker/blob/master/ios/src/ImageCropPicker.m#L467C23-L467C59 So I guess this is why it happens. I wonder if there is any reason for this...