Skip to content

Commit 06a4151

Browse files
committed
Fixed solution
1 parent dc00db3 commit 06a4151

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/07-challenges/38-challenge-custom-jsx-element.solution.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import React from "react";
88
declare global {
99
namespace JSX {
1010
interface IntrinsicElements {
11-
"custom-solution-element": {};
11+
"custom-solution-element": {
12+
children?: React.ReactNode;
13+
};
1214
}
1315
}
1416
}

0 commit comments

Comments
 (0)