Merge pull request #5680 from urbit/po/fix-hark-body-type-definition

npm: fix HarkBody type def for time
This commit is contained in:
Hunter Miller 2022-03-29 11:01:30 -05:00 committed by GitHub
commit f1f7a995f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ export type HarkContent = { ship: string; } | { text: string; };
export interface HarkBody {
title: HarkContent[];
time: string;
time: number;
content: HarkContent[];
link: string;
binned: string;
@ -29,7 +29,7 @@ export interface HarkBin {
place: HarkPlace;
}
export type HarkLid =
export type HarkLid =
{ unseen: null; }
| { seen: null; }
| { time: string; };