diff --git a/lib/index.js b/lib/index.js index ebc5b58..c2c5aa1 100644 --- a/lib/index.js +++ b/lib/index.js @@ -34,7 +34,7 @@ import {toHast} from 'mdast-util-to-hast' * Options passed to `mdast-util-to-hast`. */ const remarkRehype = - /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot>)} */ + /** @type {(import('unified').Plugin<[Processor, Options?]|[null|undefined, Options?]|[Options]|[], MdastRoot, HastRoot>)} */ ( function (destination, options) { return destination && 'run' in destination