Skip to content

Commit

Permalink
Update to TS 5
Browse files Browse the repository at this point in the history
Closes GH-734.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
Methuselah96 committed Mar 20, 2023
1 parent a3de85b commit 33ab015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ast-to-react.js
Expand Up @@ -4,7 +4,7 @@
*/

/**
* @template T
* @template {import('react').ElementType} T
* @typedef {import('react').ComponentPropsWithoutRef<T>} ComponentPropsWithoutRef<T>
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -120,7 +120,7 @@
"remark-preset-wooorm": "^9.0.0",
"remark-toc": "^8.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"typescript": "^5.0.0",
"xo": "^0.53.0"
},
"scripts": {
Expand Down

0 comments on commit 33ab015

Please sign in to comment.