Skip to content

Commit 33ab015

Browse files
authoredMar 20, 2023
Update to TS 5
Closes GH-734. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent a3de85b commit 33ab015

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/ast-to-react.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55

66
/**
7-
* @template T
7+
* @template {import('react').ElementType} T
88
* @typedef {import('react').ComponentPropsWithoutRef<T>} ComponentPropsWithoutRef<T>
99
*/
1010

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"remark-preset-wooorm": "^9.0.0",
121121
"remark-toc": "^8.0.0",
122122
"type-coverage": "^2.0.0",
123-
"typescript": "^4.0.0",
123+
"typescript": "^5.0.0",
124124
"xo": "^0.53.0"
125125
},
126126
"scripts": {

0 commit comments

Comments
 (0)
Please sign in to comment.