experience-lwc-typescript-migrate

Installation
SKILL.md

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

Installs
525
GitHub Stars
827
First Seen
10 days ago
experience-lwc-typescript-migrate — forcedotcom/sf-skills