Make timestamp optional
This commit is contained in:
@@ -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>;
|
||||||
|
|||||||
Reference in New Issue
Block a user