Skip to content

Commit 0a45e44

Browse files
committed
chore: download type
1 parent 27534e7 commit 0a45e44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/doom/src/theme/Link.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export const Link = (props: LinkProps) => {
1313
return (
1414
<OriginalLink
1515
{...props}
16-
download={props.href?.endsWith('.pdf') && props.download !== false}
16+
download={
17+
props.href?.endsWith('.pdf') &&
18+
// type-coverage:ignore-next-line -- out of control
19+
props.download !== false
20+
}
1721
/>
1822
)
1923
}

0 commit comments

Comments
 (0)