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-28 08:04:43 +03:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
08574e690b
swc
/
crates
/
swc_ecma_parser
/
tests
/
tsc
/
privateNameAndStaticInitializer.ts
9 lines
99 B
TypeScript
Raw
Normal View
History
Unescape
Escape
test(es): Update tsc test suite (#3448)
2022-02-04 11:08:38 +03:00
// @target: esnext, es2022, es2015
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
class
A
{
#
foo
=
1
;
static
inst
=
new
A
(
)
;
#
prop
=
2
;
}
Reference in New Issue
Copy Permalink