fix type definitions

This commit is contained in:
marlon-erler
2024-07-19 15:14:25 +02:00
parent 6990b5edc5
commit 4d50ee1b06
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ interface KanbanBoard {
interface KanbanBoardItem { interface KanbanBoardItem {
priority: number; priority: number;
messageObject: MessageObject; messageObject: MessageObjectWithIndex;
} }
export function KanbanView( export function KanbanView(
+1 -1
View File
@@ -10,7 +10,7 @@ export function NoteObjectsView(
selectedObject: React.State<MessageObject | undefined>, selectedObject: React.State<MessageObject | undefined>,
isShowingObjectModal: React.State<boolean> isShowingObjectModal: React.State<boolean>
) { ) {
const notes = new React.ListState<MessageObject>(); const notes = new React.ListState<MessageObjectWithIndex>();
messageObjects.handleAddition((messageObject) => { messageObjects.handleAddition((messageObject) => {
const latest = chat.getMostRecentContent(messageObject); const latest = chat.getMostRecentContent(messageObject);
if (!latest.noteContent) return; if (!latest.noteContent) return;
+1 -1
View File
@@ -18,7 +18,7 @@ interface StatusColumn {
interface StatusCellItem { interface StatusCellItem {
priority: number; priority: number;
status: string; status: string;
messageObject: MessageObject; messageObject: MessageObjectWithIndex;
} }
// data only // data only