Files
tsgo/testdata/baselines/reference/submodule/conformance/arrayLiteralSpreadES5iterable(target=es2015).errors.txt
fe0f97b699 Port TypeScript#63071: Mark downlevelIteration as removed (#2820)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-04-17 17:27:46 +00:00

28 lines
867 B
Plaintext

error TS5102: Option 'downlevelIteration' has been removed. Please remove it from your configuration.
!!! error TS5102: Option 'downlevelIteration' has been removed. Please remove it from your configuration.
==== arrayLiteralSpreadES5iterable.ts (0 errors) ====
function f0() {
var a = [1, 2, 3];
var a1 = [...a];
var a2 = [1, ...a];
var a3 = [1, 2, ...a];
var a4 = [...a, 1];
var a5 = [...a, 1, 2];
var a6 = [1, 2, ...a, 1, 2];
var a7 = [1, ...a, 2, ...a];
var a8 = [...a, ...a, ...a];
}
function f1() {
var a = [1, 2, 3];
var b = ["hello", ...a, true];
var b: (string | number | boolean)[];
}
function f2() {
var a = [...[...[...[...[...[]]]]]];
var b = [...[...[...[...[...[5]]]]]];
}