We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unifiedjs
Learn more about funding links in repositories.
Report abuse
1 parent a3de85b commit 33ab015Copy full SHA for 33ab015
lib/ast-to-react.js
@@ -4,7 +4,7 @@
4
*/
5
6
/**
7
- * @template T
+ * @template {import('react').ElementType} T
8
* @typedef {import('react').ComponentPropsWithoutRef<T>} ComponentPropsWithoutRef<T>
9
10
package.json
@@ -120,7 +120,7 @@
120
"remark-preset-wooorm": "^9.0.0",
121
"remark-toc": "^8.0.0",
122
"type-coverage": "^2.0.0",
123
- "typescript": "^4.0.0",
+ "typescript": "^5.0.0",
124
"xo": "^0.53.0"
125
},
126
"scripts": {
0 commit comments