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".

Zur Installation springen

Quellinformationen

Repository
peek-travel/app-cli
Letzte Quellaktivität
16. Juli 2026 um 20:07
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.