chore(ts): add temporary ts-ignore to widgets/buttons/attachments_actions

pull/1260/head
Panagiotis Papadopoulos 2025-02-22 18:50:32 +07:00
parent 8f643c62e3
commit d99a44867c
1 changed files with 2 additions and 0 deletions

@ -151,6 +151,8 @@ export default class AttachmentActionsWidget extends BasicWidget {
async copyAttachmentLinkToClipboardCommand() {
//TriliumNextTODO: the parent here is AttachmentDetailWidget
//how can we pass that to the generic TypedComponent<any>?
//@ts-ignore - TypedComponent<any>
this.parent?.copyAttachmentLinkToClipboard();
}