(x: never)
| 11 | |
| 12 | // Exhaustive type check helper - will cause compile error if a case is not handled |
| 13 | const assertNever = (x: never): never => { |
| 14 | throw new Error("Unexpected api version: " + x); |
| 15 | }; |
| 16 | |
| 17 | export type RequestOptions = { |
| 18 | ignoreErrorToast?: boolean; |