Michael Dougall

Results 174 comments of Michael Dougall

Hi! No worries happy to help In this _instance_ I'm not sure if there is a better way In general you basically want to do it by a process of...

hey dude thanks for making the issue 😄 nice info for the same symbol usage! are they considered the same node so shallow equality works? want to make a PR...

> About "Is there a way to completely halt traversal?" its basically a part ripped from the babel plugin handbook - in babel you can finish traversing a node by...

yeah basically - i can't imagine with the current structure of transformers it can work tbh (unless we wrote our own way to traverse children)

> They are both effectively same, no? true! > Does that mean our visitor could just return an array? 🧐😎 cool!! exciting

> I understand this is same as renaming a symbol, right yeah exactly. we can update the terminology if it's wrong in the handbook :) having the two phases sounds...

the scope definitely should just be things that can be done with transformers - but if there are opportunities to teach tangentially related concepts/apis why not i guess? this whole...

if you have typechecking turned on you should be able to interrogate the resulting symbol to know :) https://github.com/madou/typescript-transformer-handbook#following-module-imports unsure if there are helper utils to determine it. if there...

hey mate! no you're exactly right - it will only type check as if it were `a + b` - by the time we run our transformers typechecking has already...

yeah you basically need to use it directly.. no idea how it will go! if you find anything interesting report back :D