mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 10:21:31 +03:00
Merge pull request #5680 from urbit/po/fix-hark-body-type-definition
npm: fix HarkBody type def for time
This commit is contained in:
commit
f1f7a995f0
@ -13,7 +13,7 @@ export type HarkContent = { ship: string; } | { text: string; };
|
|||||||
|
|
||||||
export interface HarkBody {
|
export interface HarkBody {
|
||||||
title: HarkContent[];
|
title: HarkContent[];
|
||||||
time: string;
|
time: number;
|
||||||
content: HarkContent[];
|
content: HarkContent[];
|
||||||
link: string;
|
link: string;
|
||||||
binned: string;
|
binned: string;
|
||||||
@ -29,7 +29,7 @@ export interface HarkBin {
|
|||||||
place: HarkPlace;
|
place: HarkPlace;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type HarkLid =
|
export type HarkLid =
|
||||||
{ unseen: null; }
|
{ unseen: null; }
|
||||||
| { seen: null; }
|
| { seen: null; }
|
||||||
| { time: string; };
|
| { time: string; };
|
||||||
|
Loading…
Reference in New Issue
Block a user