mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 17:18:53 +01: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