Skip to content

fix: #277 fix <svg> types#280

Merged
thescientist13 merged 1 commit into
masterfrom
bug/issue-277-fixup-svg-types
Jun 28, 2026
Merged

fix: #277 fix <svg> types#280
thescientist13 merged 1 commit into
masterfrom
bug/issue-277-fixup-svg-types

Conversation

@thescientist13

@thescientist13 thescientist13 commented Jun 27, 2026

Copy link
Copy Markdown
Member

Related Issue

related to #277

Was seeing this error in this project

node_modules/wc-compiler/src/jsx.d.ts:53:13 - error TS2320: Interface 'IntrinsicElements' cannot simultaneously extend types 'IntrinsicElementsFromDom' and 'IntrinsicElementsFromSVG'.
  Named property '"a"' of types 'IntrinsicElementsFromDom' and 'IntrinsicElementsFromSVG' are not identical.

53   interface IntrinsicElements extends IntrinsicElementsFromDom, IntrinsicElementsFromSVG {}
               ~~~~~~~~~~~~~~~~~


Found 1 error in node_modules/wc-compiler/src/jsx.d.ts:53

Summary of Changes

  1. Fixup <svg> types

TODO

  1. test in other JSX projects - chore: upgrade greenwood 0.34.0 thescientist13/greenwood-jsx#14

@thescientist13 thescientist13 added bug Something isn't working JSX types labels Jun 27, 2026
@thescientist13 thescientist13 self-assigned this Jun 27, 2026
@thescientist13 thescientist13 added this to the 1.0 milestone Jun 27, 2026
@thescientist13 thescientist13 moved this to 👀 In review in [WCC] General Activities Jun 27, 2026
@thescientist13 thescientist13 linked an issue Jun 28, 2026 that may be closed by this pull request
@thescientist13 thescientist13 changed the title fix: #277 fixup svg types fix: #277 fix svg types Jun 28, 2026
@thescientist13 thescientist13 changed the title fix: #277 fix svg types fix: #277 fix <svg> types Jun 28, 2026
@thescientist13 thescientist13 merged commit d4d6aa2 into master Jun 28, 2026
17 checks passed
@thescientist13 thescientist13 deleted the bug/issue-277-fixup-svg-types branch June 28, 2026 14:44
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in [WCC] General Activities Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.22.2 bug Something isn't working JSX types

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

types are missing for <svg> tags usage in JSX

1 participant