From 3d93cc085c912d70e663bb6f8d85473860dfad82 Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Thu, 12 Jan 2023 02:15:00 -0700 Subject: [PATCH] Fix `this` type in TS 4.9 Closes GH-11. Reviewed-by: Titus Wormer --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 813003d..e7332d9 100644 --- a/index.js +++ b/index.js @@ -11,6 +11,7 @@ import {directiveFromMarkdown, directiveToMarkdown} from 'mdast-util-directive' * Plugin to support the generic directives proposal (`:cite[smith04]`, * `::youtube[Video of a cat in a box]{v=01ab2cd3efg}`, and such). * + * @this {import('unified').Processor} * @type {import('unified').Plugin} */ export default function remarkDirective() {