2 lines
81 B
TypeScript
2 lines
81 B
TypeScript
var b: number[];
|
|
b.reduce<number>((c, d) => c + d, 0); // should not error on '+'
|