Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TypeScript in codemods #601

Merged
merged 1 commit into from
Dec 18, 2019
Merged

Support TypeScript in codemods #601

merged 1 commit into from
Dec 18, 2019

Conversation

danoc
Copy link
Member

@danoc danoc commented Dec 18, 2019

The codemod would previously only work with JavaScript files. This change allows us to support both with a single command.

TypeScript support was added to jscodeshift here: facebook/jscodeshift#180


Tested that this correctly works in website. A single command converted both TS and JS files.

The codemod would previously only work with JavaScript files. This change allows us to support both with a single command.
@danoc danoc requested a review from tomgenoni December 18, 2019 21:26
@danoc danoc merged commit cff2e82 into master Dec 18, 2019
@danoc danoc deleted the daniel/codemod-typescript branch December 18, 2019 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants