Files
tsgo/testdata/baselines/reference/submoduleAccepted/compiler/fatarrowfunctionsErrors.js.diff

11 lines
316 B
Diff

--- old.fatarrowfunctionsErrors.js
+++ new.fatarrowfunctionsErrors.js
@@= skipped -16, +16 lines =@@
//// [fatarrowfunctionsErrors.js]
"use strict";
foo((...Far) => { return 0; });
-foo((1), { return: 0 });
+foo((1), { return: 0, });
foo((x) => { return x; });
foo((x = 0) => { return x; });
var y = x, number;