# ts\-migrate

[BASE product page](<https://base.akulich.dev/en/library/ts-migrate/>) · [Resource](<https://github.com/airbnb/ts-migrate>)

ID: ts\-migrate · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A collection of code transformations for migrating JavaScript to TypeScript: it helps automate initial project typing\.

## Type

Build / code quality tool

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/ts-migrate/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/ts-migrate/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/ts-migrate/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/ts-migrate/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/ts-migrate/#resource-tasks>)

- Prepare a JavaScript project for TypeScript
- Apply initial code transformations and investigate the resulting type errors

## Category IDs

- infrastructure
- quality

## Subcategory IDs

- infrastructure\.developer
- quality\.review

## Tags

- ts\-migrate
- build
- Development

## Also known as

- airbnb/ts\-migrate
- ts\-migrate
- typescript\-migration
- javascript\-to\-typescript

## [Selection purpose](<https://base.akulich.dev/en/library/ts-migrate/#resource-selection>)

Prepare a JavaScript project for TypeScript

## [Choose this when](<https://base.akulich.dev/en/library/ts-migrate/#resource-selection>)

- Prepare a JavaScript project for TypeScript
- Apply initial code transformations and investigate the resulting type errors

## [Limitations](<https://base.akulich.dev/en/library/ts-migrate/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- The README explicitly warns that any and @ts\-expect\-error remain after transformation\. A passing build does not mean type\-safety checking is complete; these areas need further work\.

## [Questions before use](<https://base.akulich.dev/en/library/ts-migrate/#resource-faq>)

### What can you use for free in ts\-migrate?

Code and local use under MIT\.

### What additional costs might arise with ts\-migrate?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for ts\-migrate?

MIT for the code; dependencies have separate licenses\.

### How do you get started with ts\-migrate?

Select part of the project and record working behavior before migration\. Apply initial code transformations and investigate the resulting type errors\. Add the workflow to scripts or CI with a clear report\.

### Does ts\-migrate automatically complete typing migration?

The tool accepts JavaScript or partially migrated TypeScript projects and transforms them through plugins\. There is a main migration configuration and separate reignore; you can assemble your own plugin set\.

## Sources for the selection guide

- [https://github\.com/airbnb/ts\-migrate](<https://github.com/airbnb/ts-migrate>)
- [https://raw\.githubusercontent\.com/airbnb/ts\-migrate/HEAD/README\.md](<https://raw.githubusercontent.com/airbnb/ts-migrate/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/airbnb/ts\-migrate/HEAD/LICENCE](<https://raw.githubusercontent.com/airbnb/ts-migrate/HEAD/LICENCE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/ts-migrate/#resource-scenario>)

Prepare a JavaScript project for TypeScript\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A repository, package manifests, and configuration\.
- A compatible runtime and the target build command\.

## Steps

1. Select part of the project and record working behavior before migration\.
2. Apply initial code transformations and investigate the resulting type errors\.
3. Add the workflow to scripts or CI with a clear report\.

## Check your result

- A clean copy of the project reproduces the result\.
- Errors produce a nonzero exit code and clear diagnostics\.

## [License](<https://base.akulich.dev/en/library/ts-migrate/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/ts-migrate/#resource-sources>)

- [Official source](<https://github.com/airbnb/ts-migrate>)
- [Official source](<https://raw.githubusercontent.com/airbnb/ts-migrate/HEAD/README.md>)
- [Official source](<https://raw.githubusercontent.com/airbnb/ts-migrate/HEAD/LICENCE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
