This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-01 01:13:56 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
b1c40a411f
swc
/
crates
/
swc_ecma_parser
/
tests
/
tsc
/
emitArrowFunctionAsIsES6.ts
5 lines
95 B
TypeScript
Raw
Normal View
History
Unescape
Escape
test(es/tsc): Update tsc test suite (#6982) **Description:** This is required for https://github.com/swc-project/swc/pull/6981 and https://github.com/swc-project/swc/pull/6950
2023-02-23 10:55:58 +03:00
// @target:ES6
feat(es): TypeScript 4.2 (#1330) swc_ecma_ast: - Add `is_abstract` to constructor types. swc_ecma_codegen: - Fix codegen of `Bool`. - Implement codegen for abstract constructors. swc_ecma_parser: - Inline tsc parser test suite. - Implement parsing of abstract constructor types.
2021-01-15 13:30:44 +03:00
var
arrow1
=
a
=
>
{
}
;
var
arrow2
=
(
a
)
=
>
{
}
;
var
arrow3
=
(
a
,
b
)
=
>
{
}
;
Reference in New Issue
Copy Permalink