dsherret / ts-nameof

nameof in TypeScript
MIT License
492 stars 23 forks source link

Babel support #44

Closed dsherret closed 5 years ago

dsherret commented 5 years ago

As title.

This will solve #37 and I believe #36.

Edit: To do this effectively I will have to parse a shared representation from the ASTs of babel and typescript, then share the logic for determining the final string node (as a way of reducing code duplication and maintenance overhead).