mirror of
https://github.com/zadam/trilium.git
synced 2025-12-07 16:04:23 +01:00
fix(typecheck-proven incorrectness): typecheck caught incorrectness through pnpm typecheck
This commit is contained in:
parent
e7fb629aa8
commit
80090b556c
@ -26,7 +26,7 @@ export default class Entrypoints extends Component {
|
||||
|
||||
async createNoteIntoInboxCommand() {
|
||||
await noteCreateService.createNote(
|
||||
{ target: "into" } as CreateNoteIntoInboxOpts
|
||||
{ target: "inbox" } as CreateNoteIntoInboxOpts
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -263,6 +263,7 @@ async function createNoteIntoInbox(
|
||||
const result = await createNoteWithUrl("into",
|
||||
{
|
||||
...options,
|
||||
target: "into",
|
||||
parentNoteUrl: inboxNote.noteId,
|
||||
} as CreateNoteWithUrlOpts
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user