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

설치로 이동

소스 정보

저장소
peek-travel/app-cli
최근 소스 활동
2026년 7월 16일 20:07
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.