-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hello.
I'm trying to create a ts-patch transformer to transform some code before it's executed.
The problem is the tool I'm trying to call (like much of npm nowadays...) expects an async call.
So I start adding await before the call, and moving up in my code transforming functions to async as I go.
And I hit a wall when I get down to the level of ts-patch / the transformer itself... It expects sync functions, and won't do await / deal with any kind of async function.
Is there any way to get this to work? Some kind of solution I'm not considering?
Any help would be very much appreciated.
Thanks a lot in advance.
Metadata
Metadata
Assignees
Labels
No labels