UNPKG

hn-ts

Version:

TypeScript client for the Hacker News API

7 lines 310 B
/** * `ItemType` lists the possible item types * (`job`, `story`, `comment`, `poll`, or `pollopt`) * with `unknown` indicating that a type was not given by the API. */ export declare type ItemType = "job" | "story" | "comment" | "poll" | "pollopt" | "unknown"; //# sourceMappingURL=item-type.d.ts.map