fix(typecheck-proven incorrectness): typecheck caught incorrectness through pnpm typecheck

This commit is contained in:
Jakob Schlanstedt 2025-10-29 01:01:16 +01:00
parent 09c8a778f5
commit b9e19e524a
2 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export default class Entrypoints extends Component {
async createNoteIntoInboxCommand() { async createNoteIntoInboxCommand() {
await noteCreateService.createNote( await noteCreateService.createNote(
{ target: "into" } as CreateNoteIntoInboxOpts { target: "inbox" } as CreateNoteIntoInboxOpts
); );
} }

View File

@ -263,6 +263,7 @@ async function createNoteIntoInbox(
const result = await createNoteWithUrl("into", const result = await createNoteWithUrl("into",
{ {
...options, ...options,
target: "into",
parentNoteUrl: inboxNote.noteId, parentNoteUrl: inboxNote.noteId,
} as CreateNoteWithUrlOpts } as CreateNoteWithUrlOpts
); );