hn-ts
Version:
TypeScript client for the Hacker News API
12 lines • 434 B
TypeScript
import { RawUser } from "./raw-user";
/**
* `getRawUserById` returns the user with the given ID as is from the API.
* If the user is not available, `getRawUserById` returns `undefined`.
*
* @see {@link RawUser}
* @see {@link https://github.com/HackerNews/API#users}
*/
export declare function getRawUserById({ id, }: {
id: string;
}): Promise<RawUser | undefined>;
//# sourceMappingURL=get-raw-user-by-id.d.ts.map