chore: lint:typescript

This commit is contained in:
2026-07-03 16:51:56 +02:00
parent 21fbd5f963
commit be2c1746c2
+2 -1
View File
@@ -29,7 +29,8 @@ const relativeLinksRule = {
filterTokens(params, "inline", (token) => { filterTokens(params, "inline", (token) => {
const children = token.children ?? [] const children = token.children ?? []
for (const child of children) { for (const child of children) {
const { type, attrs, lineNumber } = child const { type, lineNumber } = child
const attrs = child.attrs ?? []
/** @type {string | undefined} */ /** @type {string | undefined} */
let hrefSrc let hrefSrc