We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5836695 commit 04b3dbfCopy full SHA for 04b3dbf
src/paste-markdown-html.ts
@@ -83,8 +83,8 @@ function hasHTML(transfer: DataTransfer): boolean {
83
return transfer.types.includes('text/html')
84
}
85
86
-function hasLinkPreview(transfer) {
87
- return transfer.types.includes('text/link-preview');
+function hasLinkPreview(transfer: DataTransfer): boolean {
+ return transfer.types.includes('text/link-preview')
88
89
90
function linkify(element: HTMLAnchorElement): string {
0 commit comments