swc/crates/swc_ecma_parser/tests/tsc/emitArrowFunctionsAsIsES6.ts

5 lines
92 B
TypeScript

// @target:ES6
var arrow1 = a => { };
var arrow2 = (a) => { };
var arrow3 = (a, b) => { };