Skip to content

Commit

Permalink
make content optional in Node type
Browse files Browse the repository at this point in the history
  • Loading branch information
lukad committed May 19, 2024
1 parent b863b54 commit ff87bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/hooks/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type UUID = `${string}-${string}-${string}-${string}-${string}`;

export interface Node {
uuid: UUID;
content: string;
content?: string;
creator_id?: number;
parent_id?: UUID;
prev_id?: UUID;
Expand Down

0 comments on commit ff87bc5

Please sign in to comment.