From be2c1746c29b82d59ad778115098224e5c138df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Fri, 3 Jul 2026 16:51:56 +0200 Subject: [PATCH] chore: lint:typescript --- src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index cdc92d8..c9c3b79 100644 --- a/src/index.js +++ b/src/index.js @@ -29,7 +29,8 @@ const relativeLinksRule = { filterTokens(params, "inline", (token) => { const children = token.children ?? [] for (const child of children) { - const { type, attrs, lineNumber } = child + const { type, lineNumber } = child + const attrs = child.attrs ?? [] /** @type {string | undefined} */ let hrefSrc