checker-panic-infinity.ts:5:1 - error SC0004: the TypeScript checker crashed answering a query here (an upstream typescript-go bug): panic: api: failed to write response: json: cannot marshal from Go float64 within "/value": unsupported value: +Inf

  4 | type A = 1e999;
  5 | export function f(): A { throw new Error("x"); }
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6 | export const m = f();

checker-panic-infinity.ts:6:1 - error SC0004: the TypeScript checker crashed answering a query here (an upstream typescript-go bug): panic: api: failed to write response: json: cannot marshal from Go float64 within "/value": unsupported value: +Inf

  5 | export function f(): A { throw new Error("x"); }
  6 | export const m = f();
    | ^~~~~~~~~~~~~~~~~~~~~
  7 | 