Skip to content

Commit

Permalink
fix: removed unknown type kitajs#22
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Sep 11, 2023
1 parent 8afa3de commit be2bc51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ component.
```tsx
// Clean component, render as is
function Clean(props: CleanProps<{ repeated: string }>) {
function Clean(props: PropsWithChildren<{ repeated: string }>) {
return <div>{props.repeated}</div>
}

Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ declare namespace Html {
* @example
* ```tsx
* // Clean component, render as is
* function Clean(props: CleanProps<{ repeated: string }>) {
* function Clean(props: PropsWithChildren<{ repeated: string }>) {
* return <div>{props.repeated}</div>
* }
*
Expand Down

0 comments on commit be2bc51

Please sign in to comment.