Converting LWC to TypeScript Convert a Lightning Web Component bundle from JavaScript to TypeScript. The deliverable is a fully-typed .ts implementation plus a .d.ts file that only exposes @api members (the public surface other LWCs consume). When to Use This Skill User wants to migrate a single component or a folder of components from .js to .ts . User needs a .d.ts for an existing LWC so other components (or an external TypeScript host) can import it safely. User is adding type annotations to an already-renamed .ts LWC that hasn't been properly typed yet. User wants JSDoc-style type hints upgraded to real TypeScript types. Prerequisites Show more Installs 899 Repository forcedotcom/sf-skills GitHub Stars 849 First Seen 14 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
experience-lwc-typescript-migrate
安装
npx skills add https://github.com/forcedotcom/sf-skills --skill experience-lwc-typescript-migrate