Note on allowSyntheticDefaultImports
henrikra opened this issue ยท 8 comments
In readme it reads:
This is neccessary until TypeScript implements suport for synthetic default imports in emitted code as well as in the type checker. See microsoft/TypeScript#9562.
That issue is now closed so I guess the README should change too?
Yes, thanks for the reminder! First I'll update the transformer to be able to run without babel if TS is >= 2.7
update on this: Last night I ripped out the babel transform, and ran in to this issue: microsoft/TypeScript#21621
Once that bug is solved I'll be happy to release react-native-typescript-transformer 2.0 which won't use babel at all and will only support React Native >= 0.52
wip branch over here: https://github.com/ds300/react-native-typescript-transformer/tree/no-babel
Sounds good!
So so close! :D
Just need to wait for TS 2.9 to drop. Should be any day now ๐ค
What a roller coaster.
- Babel 7 will support TS! ๐ฎ ๐๐
- but not all of it ๐ญ ๐ฅ
- Hey, let's remove babel! ๐ฎ ๐๐
- But we can't cuz of a TS bug. ๐ข ๐ฅ
- It's fixed!: ๐ฎ ๐๐
- but we have to wait for 2.9 ๐ช๐ฅ
You're killing me here David.
https://twitter.com/typescriptlang/status/1002230349521338368?s=19
๐๐๐บ๐
Unfortunately I'm busy with non-tech stuff for a few days, but I'll work on a new release ASAP.