From f41df8ec7c60eb4a7374b335fa0ad56264747900 Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Thu, 12 Jan 2023 02:21:16 -0700 Subject: [PATCH] Fix `this` type in TS 4.9 Closes GH-304. Reviewed-by: Titus Wormer --- packages/remark-lint/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/remark-lint/index.js b/packages/remark-lint/index.js index b50ca117..cce8279b 100644 --- a/packages/remark-lint/index.js +++ b/packages/remark-lint/index.js @@ -9,6 +9,7 @@ import remarkMessageControl from 'remark-message-control' * This adds support for ignoring stuff from messages (``). * All rules are in their own packages and presets. * + * @this {import('unified').Processor} * @type {import('unified').Plugin, Root>} */ export default function remarkLint() {