Skip to content

Commit a1e4719

Browse files
imjohnbokeithamus
andauthored
Update src/paste-markdown-html.ts
Co-authored-by: Keith Cirkel <[email protected]>
1 parent b5eec8a commit a1e4719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paste-markdown-html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function isEmptyString(text: string): boolean {
9090
return !text || text?.trim().length === 0
9191
}
9292

93-
function isLink(node: HTMLElement): boolean {
93+
function isLink(node: HTMLElement): node is HTMLAnchorElement {
9494
return node.tagName.toLowerCase() === 'a' && node.hasAttribute('href')
9595
}
9696

0 commit comments

Comments
 (0)