-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Cannot use with ts-node transpile-only #53
Comments
See issue: TypeStrong/ts-node#1051 It is possible to use transformers with ts-node via the register method demonstrated in that issue. |
I just don't want to use another transformer tool to support |
At the moment, tsp does not natively patch the method used by ts-node. I will look at adding some sort of support for ts-node in v2. That said, you don't need another tool to make it work. If you read the thread I posted, they give an example of supplying ts-node with your transformers, so you can make it work with or without patched typescript. I should point out that most transformer packages for tsp or ttypescript require the type checker, so they will not work with transpile-only. The ones which take a raw signature should work, however. You can try the one you like to find out. Just provide ts-node with your configuration like they do in the example I posted. Hope that helps! |
Thanks for your explanation! |
Finally I use |
No description provided.
The text was updated successfully, but these errors were encountered: