TypeScript/tests/baselines/reference/emitArrowFunctionsAsIsES6.types

18 lines
793 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionsAsIsES6.ts ===
var arrow1 = a => { };
2015-04-13 23:01:57 +02:00
>arrow1 : (a: any) => void, Symbol(arrow1, Decl(emitArrowFunctionsAsIsES6.ts, 0, 3))
>a => { } : (a: any) => void
2015-04-13 23:01:57 +02:00
>a : any, Symbol(a, Decl(emitArrowFunctionsAsIsES6.ts, 0, 12))
var arrow2 = (a) => { };
2015-04-13 23:01:57 +02:00
>arrow2 : (a: any) => void, Symbol(arrow2, Decl(emitArrowFunctionsAsIsES6.ts, 1, 3))
>(a) => { } : (a: any) => void
2015-04-13 23:01:57 +02:00
>a : any, Symbol(a, Decl(emitArrowFunctionsAsIsES6.ts, 1, 14))
var arrow3 = (a, b) => { };
2015-04-13 23:01:57 +02:00
>arrow3 : (a: any, b: any) => void, Symbol(arrow3, Decl(emitArrowFunctionsAsIsES6.ts, 3, 3))
>(a, b) => { } : (a: any, b: any) => void
2015-04-13 23:01:57 +02:00
>a : any, Symbol(a, Decl(emitArrowFunctionsAsIsES6.ts, 3, 14))
>b : any, Symbol(b, Decl(emitArrowFunctionsAsIsES6.ts, 3, 16))