17 lines
399 B
Text
17 lines
399 B
Text
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionsAsIs.ts ===
|
|
var arrow1 = a => { };
|
|
>arrow1 : (a: any) => void
|
|
>a => { } : (a: any) => void
|
|
>a : any
|
|
|
|
var arrow2 = (a) => { };
|
|
>arrow2 : (a: any) => void
|
|
>(a) => { } : (a: any) => void
|
|
>a : any
|
|
|
|
var arrow3 = (a, b) => { };
|
|
>arrow3 : (a: any, b: any) => void
|
|
>(a, b) => { } : (a: any, b: any) => void
|
|
>a : any
|
|
>b : any
|
|
|