Example of using jscodeshift with TypeScript.
First install:
npm installTry the reverse-identifiers transform:
./node_modules/.bin/jscodeshift -t ./reverse-identifiers.js --extensions=ts --parser=ts ./reverse-identifiers.input.ts --print --dryOmit --dry to write the transformed source back to disk.
npm test