Skip to content

Commit 9b2ec93

Browse files
committed
added message for @types/react and JSX
1 parent 9566011 commit 9b2ec93

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Dirk Holtwick
3+
Copyright (c) 2021-2024 Dirk Holtwick
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ const React = {
112112

113113
But more common is the use of `h` as the factory function. Here is how you can set up this behavior for various environments:
114114

115+
> In case of error messages on JSX in your Typescript project, try to add `npm install -D @types/react`.
116+
115117
### Babel.js
116118

117119
Add required plugins:

0 commit comments

Comments
 (0)