Skip to content

Commit 0b18aed

Browse files
committed
Added export to 53
1 parent d4f97d2 commit 0b18aed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/07-types-deep-dive/53-understand-react-namespace-export.explainer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*/
44

55
// 1. What is the React namespace?
6+
// 1a. Why can it be accessed globally as a type?
67
type Example = React.ReactNode;
78
// ^?
89

@@ -16,3 +17,5 @@ type Example = React.ReactNode;
1617
*/
1718
const element = React.createElement("div");
1819
// ^?
20+
21+
export {};

0 commit comments

Comments
 (0)