mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(ts): add temporary ts-ignore to widgets/buttons/attachments_actions
This commit is contained in:
parent
8f643c62e3
commit
d99a44867c
@ -151,6 +151,8 @@ export default class AttachmentActionsWidget extends BasicWidget {
|
|||||||
|
|
||||||
async copyAttachmentLinkToClipboardCommand() {
|
async copyAttachmentLinkToClipboardCommand() {
|
||||||
//TriliumNextTODO: the parent here is AttachmentDetailWidget
|
//TriliumNextTODO: the parent here is AttachmentDetailWidget
|
||||||
|
//how can we pass that to the generic TypedComponent<any>?
|
||||||
|
//@ts-ignore - TypedComponent<any>
|
||||||
this.parent?.copyAttachmentLinkToClipboard();
|
this.parent?.copyAttachmentLinkToClipboard();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user