Skip to content

Commit

Permalink
Merge pull request #40 from 21TORR/mountjsx-types
Browse files Browse the repository at this point in the history
  • Loading branch information
keichinger authored Aug 5, 2024
2 parents 0194c72 + 22a5ed8 commit 61d3498
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2.2.3
=====

* (improvement) Improve Types of `mountJsx`.


2.2.2
=====

Expand Down
2 changes: 1 addition & 1 deletion src/react/mount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function mount (
*/
export function mountJsx <ComponentProperty = Record<string, unknown>> (
selector: string|HTMLElement|HTMLElement[],
mountable: ComponentType,
mountable: ComponentType<Partial<ComponentProperty>>,
options: MountableJsxOptions<ComponentProperty> = {},
) : void
{
Expand Down

0 comments on commit 61d3498

Please sign in to comment.