mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
fix(typecheck-proven incorrectness): typecheck caught incorrectness through pnpm typecheck
This commit is contained in:
parent
09c8a778f5
commit
b9e19e524a
@ -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