18 lines
403 B
Text
18 lines
403 B
Text
|
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionsAsIsES6.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
|
||
|
|