UNPKG

hn-ts

Version:

TypeScript client for the Hacker News API

6 lines (5 loc) 184 B
/** * `RawItemType` lists the possible item types * (`job`, `story`, `comment`, `poll`, or `pollopt`) */ export type RawItemType = "job" | "story" | "comment" | "poll" | "pollopt";