Skip to content

Commit 32b5e83

Browse files
committedJan 18, 2023
Fix types for TS 4.9
1 parent 6612299 commit 32b5e83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const tableElements = new Set([
4949
* > When using `.process` (or `.processSync`), the result is available at
5050
* > `file.result`.
5151
*
52+
* @this {import('unified').Processor}
5253
* @type {import('unified').Plugin<[Options], Root, ReactElement>}
5354
*/
5455
export default function rehypeReact(options) {

0 commit comments

Comments
 (0)
Please sign in to comment.