Skip to content

Commit

Permalink
Merge pull request #152 from JamesIves/main
Browse files Browse the repository at this point in the history
use intersection versus union for interface generation
  • Loading branch information
break-stuff authored Sep 27, 2024
2 parents 940144c + 81fdacf commit c0c3cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jsx-integration/src/type-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ ${components
*/
"${options.prefix}${component.tagName}${options.suffix}": Partial<${
component.name
}Props | BaseProps | BaseEvents>;`;
}Props & BaseProps & BaseEvents>;`;
})
.join("\n")}
}
Expand Down

0 comments on commit c0c3cfc

Please sign in to comment.