An open API service indexing awesome lists of open source software.

https://github.com/dtstack/typescript-migration-helper

Help ES6 + React + Redux project migrates to the Typescript project.
https://github.com/dtstack/typescript-migration-helper

migration-tool typescript

Last synced: 8 days ago
JSON representation

Help ES6 + React + Redux project migrates to the Typescript project.

Awesome Lists containing this project

README

        

# typescript-migration-helper

Help ES6 + React + Redux project migrates to the Typescript project.

This is just a helper script, current only tested in **MacOS**. It can't transform old project to Typescript project completely, some situations still need you to solve manually.

# Usage

You need to download the migration.pl script to your project **root** directory, and then exec the command:

> find ./src/**/*.js -exec ./scripts/migration.pl '{}' \;

It means transform all js files below src directory into ts. There put migration.pl file into the scripts directory.