Make timestamp optional

This commit is contained in:
Michael Wolf
2025-03-07 15:24:11 -06:00
parent 6d2779ba83
commit c850815e97

View File

@@ -7,7 +7,7 @@ type MessageSource = "logging" | "diagnostic" | "user";
type Message = { type Message = {
// FIXME: number probably isn't what we want here // FIXME: number probably isn't what we want here
timestamp: number; timestamp?: number;
source: MessageSource; source: MessageSource;
text: AtLeastOne<string>; text: AtLeastOne<string>;