-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
I'm trying to refactor path-visitor into something that might better meet my own needs for a particular situation.
I noticed that while ast-types is written in Typescript, the code in path-visitor.ts is written with lots of the Javscript prototype inheritance/manipulation that you'd often see people doing in Javascript prior to when Typescript got popular.
Would @benjamn, @brieb, or someone else know what the reason for implementing path-visitor.ts this way? This is not a criticism, I'm just trying to understand whether if I re-implemented path-visitor.ts in pure typescript whether I'd be leaving out some key implementation requirement I didn't think of.
Any light anyone could shed on this would be greatly appreciate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels