Experience Lwc Typescript Migrate

forcedotcom/sf-skills/plugins/builder/experience-lwc/skills/experience-lwc-typescript-migrate

作者 forcedotcome5164d94d7511c00fa02a5b8b60754b2361e178f無授權條款1K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫2 天前更新

Use when converting an existing JavaScript Lightning Web Component (.js, .html, .css) to TypeScript with full type annotations and a matching `.d.ts` file that exposes only the component's `@api` surface. TRIGGER when the user says "convert LWC to TypeScript", "migrate LWC to TS", "rename .js to .ts for this component", "add types to my LWC", "generate .d.ts for this LWC", "type-annotate @api properties", or "produce declare module 'c/componentName' definitions". DO NOT TRIGGER when the user is authoring a brand-new LWC from scratch (use experience-lwc-generate), generating Jest tests for an existing LWC (use experience-lwc-generate), or migrating an Aura component to LWC.

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
assets/dts-template.ts322 Btext/plain
assets/type-patterns.ts972 Btext/plain
scripts/find-consumers.sh4.6 KBtext/plain
SKILL.md8.3 KBtext/markdown

來源與署名

來源:forcedotcom/sf-skills位於plugins/builder/experience-lwc/skills/experience-lwc-typescript-migrate提交e5164d9

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架