TypeScript/tests/baselines/reference/emitArrowFunctionAsIsES6.types

18 lines
785 B
Plaintext
Raw Normal View History

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