Skip to content

Commit b26bd4a

Browse files
Fix error message example
Co-authored-by: Claudia Meadows <[email protected]>
1 parent 1b34947 commit b26bd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/jsx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ TypeScript will report this error:
290290

291291
```
292292
TS2739: Type { greet: string; } is missing the following properties from type Vnode<{}, {}>: tag, attrs, state
293-
TS2786: LoadingSpinner cannot be used as a JSX component.
293+
TS2786: ChildComponent cannot be used as a JSX component.
294294
```
295295

296296
There are several options to circumvent that problem:

0 commit comments

Comments
 (0)