Skip to content

Commit

Permalink
Fix types for TS 4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 18, 2023
1 parent 6612299 commit 32b5e83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const tableElements = new Set([
* > When using `.process` (or `.processSync`), the result is available at
* > `file.result`.
*
* @this {import('unified').Processor}
* @type {import('unified').Plugin<[Options], Root, ReactElement>}
*/
export default function rehypeReact(options) {
Expand Down

0 comments on commit 32b5e83

Please sign in to comment.