Skip to content

Commit 0e7b212

Browse files
Jakob Schlanstedtwerererer
authored andcommitted
fix(note-create): fix type definition for CreateNoteWithUrlOpts
1 parent 05ee5bf commit 0e7b212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/client/src/services/note_create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export type CreateNoteWithUrlOpts = CreateNoteOpts & {
8383
parentNoteUrl: string;
8484

8585
// Disambiguates the position for cloned notes.
86-
targetBranchId: string;
86+
targetBranchId?: string;
8787
}
8888

8989
type NeverDefineParentNoteUrlRule = {

0 commit comments

Comments
 (0)