mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
371 B
TypeScript
17 lines
371 B
TypeScript
//// [tests/cases/compiler/fatarrowfunctionsOptionalArgsErrors2.ts] ////
|
|
|
|
//// [fatarrowfunctionsOptionalArgsErrors2.ts]
|
|
var tt1 = (a, (b, c)) => a+b+c;
|
|
var tt2 = ((a), b, c) => a+b+c;
|
|
|
|
var tt3 = ((a)) => a;
|
|
|
|
//// [fatarrowfunctionsOptionalArgsErrors2.js]
|
|
"use strict";
|
|
var tt1 = (a, (b, c));
|
|
a + b + c;
|
|
var tt2 = ((a), b, c);
|
|
a + b + c;
|
|
var tt3 = ((a));
|
|
a;
|