two-errors-one-line.ts 114 B

123
  1. // Two expected diagnostics on one line.
  2. const a: number = "one", b: string = 2; // error // error
  3. return [a, b];