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

This commit is contained in:
Panagiotis Papadopoulos 2025-02-22 18:50:32 +01:00
parent 8f643c62e3
commit d99a44867c

View File

@ -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();
} }