fix type definitions
This commit is contained in:
@@ -12,7 +12,7 @@ interface KanbanBoard {
|
||||
|
||||
interface KanbanBoardItem {
|
||||
priority: number;
|
||||
messageObject: MessageObject;
|
||||
messageObject: MessageObjectWithIndex;
|
||||
}
|
||||
|
||||
export function KanbanView(
|
||||
|
||||
@@ -10,7 +10,7 @@ export function NoteObjectsView(
|
||||
selectedObject: React.State<MessageObject | undefined>,
|
||||
isShowingObjectModal: React.State<boolean>
|
||||
) {
|
||||
const notes = new React.ListState<MessageObject>();
|
||||
const notes = new React.ListState<MessageObjectWithIndex>();
|
||||
messageObjects.handleAddition((messageObject) => {
|
||||
const latest = chat.getMostRecentContent(messageObject);
|
||||
if (!latest.noteContent) return;
|
||||
|
||||
@@ -18,7 +18,7 @@ interface StatusColumn {
|
||||
interface StatusCellItem {
|
||||
priority: number;
|
||||
status: string;
|
||||
messageObject: MessageObject;
|
||||
messageObject: MessageObjectWithIndex;
|
||||
}
|
||||
|
||||
// data only
|
||||
|
||||
Reference in New Issue
Block a user