From 9cbf17cae048f5c22b73e6fb1ece7777516d3b84 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 10 Oct 2024 15:49:11 +0200 Subject: [PATCH] Refactor to use `@import`s --- lib/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/index.js b/lib/index.js index 655d2f7..57bf6ed 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,8 +1,5 @@ /** - * @typedef {import('mdast').Link} Link - * @typedef {import('mdast').LinkReference} LinkReference - * @typedef {import('mdast').Paragraph} Paragraph - * @typedef {import('mdast').Root} Root + * @import {LinkReference, Link, Paragraph, Root} from 'mdast' */ import {whitespace} from 'hast-util-whitespace'