<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Refactoring on PlumePHP</title><link>https://plumephp.com/tags/refactoring/</link><description>Recent content in Refactoring on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 22 Nov 2025 10:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/refactoring/index.xml" rel="self" type="application/rss+xml"/><item><title>JavaScript 项目迁移到 TypeScript 实战：渐进式策略与自动化工具</title><link>https://plumephp.com/typescript-js-migration/</link><pubDate>Sat, 22 Nov 2025 10:00:00 +0800</pubDate><guid>https://plumephp.com/typescript-js-migration/</guid><description>&lt;p&gt;&lt;strong&gt;把一个现有的 JavaScript 项目迁移到 TypeScript 不需要一次全部重写&lt;/strong&gt;。TypeScript 支持&amp;quot;渐进式迁移&amp;quot;——允许 &lt;code&gt;.js&lt;/code&gt; 和 &lt;code&gt;.ts&lt;/code&gt; 文件在同一项目中并存，逐个模块迁移。本文提供经过验证的迁移路径和工具链。&lt;/p&gt;</description></item></channel></rss>