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
Switch to only using babel #358
Comments
This is brilliant! I think this will make ts-jest itself unnecessary. So maybe we don't really have to do anything :) |
Might be! I wouldn't mind that one bit! |
https://github.com/babel/babel/blob/master/packages/babel-plugin-transform-typescript/README.md According to Babel's doc, that plugin has some limitations like it cannot support I guess we still need ts-jest 😄 |
@whitetrefoil is correct, I gave a quick try on small repo I own and lot of TS-specific (i.e, exporting type like
syntax around won't work, and it's not supported scope from babel unfortunately. |
Thanks for letting us know @whitetrefoil @kwonoj Closing this for now. |
Babel 7 is going to have typescript support https://github.com/babel/babylon/releases/tag/v7.0.0-beta.16
Combining this with jest having their own sourcemaps might make a large patch of our codebase obsolete, and simply replaceable with a .babelrc file. We should keep an eye on this.
The text was updated successfully, but these errors were encountered: