Add TypeScript Support #228
Hey @threepointone, thanks for the heads up
The tests I added to require a change to jscodeshift test utils to allow testing things other than js.
I don't expect the jscodeshift PR to land any time soon, so I'd recommend using the Object.assign hack https://github.com/reactjs/react-codemod/blob/master/transforms/__tests__/rename-unsafe-lifecycles-test.js#L13-L17 I'm not sure of a workaround for the extension.
To simplify, I'm happy to accept a PR with just this
root .find(j.ClassMethod) .forEach(renameDeprecatedApis);
in rename-unsafe-lifecycles.js, since that seems to be the core change.