Skip to main content

javascript-typings

How to type custom elements (web components like Odyssey's <ody-*>) for React/TSX by augmenting JSX.IntrinsicElements. Use when adding or editing a custom-element declaration, when a JSX attribute or ref on a custom element won't type-check, or when tsc passes but next build fails on element typings. Covers the one-declaration-file rule (and the skipLibCheck silent-conflict trap), the CustomEl base pattern that includes ref/key, and validating with a real next build rather than tsc alone. Triggers on "JSX.IntrinsicElements", "elements.d.ts", "custom element typings", "CustomEl", "ody-* attribute not working", "ref on a custom element", "next build type error", "web component typings", "declare a custom element in TSX".

Aller à l'installation

Informations de source

Dépôt
peek-travel/app-cli
Dernière activité de la source
16 juillet 2026 à 20:07
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.