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

feat: add prop-types-typescript transform #334

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amirabbas-gh
Copy link

📚 Description

This PR introduces the new prop-types-typescript transform.

  1. New Transform: Prop Types to TypeScript
    • Added prop-types-typescript transform to assist in migrating from prop-types to TypeScript interfaces.
    • Ensured compatibility with common patterns in React components.
    • Available via npx codemod react/prop-types-typescript.

🧪 Test Plan

Validate the new transform tests using jest.

@amirabbas-gh amirabbas-gh marked this pull request as draft February 4, 2025 15:31
@amirabbas-gh amirabbas-gh force-pushed the prop-types-typescript_trasnform branch from 3b638a7 to e4d1d50 Compare February 4, 2025 19:17
@amirabbas-gh amirabbas-gh force-pushed the prop-types-typescript_trasnform branch from e4d1d50 to 8e459b5 Compare February 5, 2025 20:18
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.

1 participant