TypeScript/tests/baselines/reference/emitArrowFunctionsAsIsES6.types
2015-04-13 14:29:37 -07:00

18 lines
793 B
Plaintext

=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionsAsIsES6.ts ===
var arrow1 = a => { };
>arrow1 : (a: any) => void, Symbol(arrow1, Decl(emitArrowFunctionsAsIsES6.ts, 0, 3))
>a => { } : (a: any) => void
>a : any, Symbol(a, Decl(emitArrowFunctionsAsIsES6.ts, 0, 12))
var arrow2 = (a) => { };
>arrow2 : (a: any) => void, Symbol(arrow2, Decl(emitArrowFunctionsAsIsES6.ts, 1, 3))
>(a) => { } : (a: any) => void
>a : any, Symbol(a, Decl(emitArrowFunctionsAsIsES6.ts, 1, 14))
var arrow3 = (a, b) => { };
>arrow3 : (a: any, b: any) => void, Symbol(arrow3, Decl(emitArrowFunctionsAsIsES6.ts, 3, 3))
>(a, b) => { } : (a: any, b: any) => void
>a : any, Symbol(a, Decl(emitArrowFunctionsAsIsES6.ts, 3, 14))
>b : any, Symbol(b, Decl(emitArrowFunctionsAsIsES6.ts, 3, 16))