Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on TIL: `satisfies` is my favorite TypeScript keyword. Parent comment
```ts
/*
* A function that asserts that a value is never.
* Useful for exhaustiveness checks in switch statements.
*/
export function assertNever(x: never): never {
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions throw new Error(`Unexpected object: ${x}`)
```
There are no comments on this comment yet.
```ts
/*
* A function that asserts that a value is never.
* Useful for exhaustiveness checks in switch statements.
*/
export function assertNever(x: never): never {
}```