chore: fix type errors

This commit is contained in:
Aman Harwara
2023-08-28 15:55:18 +05:30
parent 2484d78588
commit 6a14741e7b

View File

@@ -393,7 +393,7 @@ export class FilesController extends AbstractViewController<FilesControllerEvent
options: { options: {
showToast?: boolean showToast?: boolean
note?: SNNote note?: SNNote
}, } = {},
): Promise<FileItem | undefined> { ): Promise<FileItem | undefined> {
const { showToast = true, note } = options const { showToast = true, note } = options