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-18 19:21:33 +03:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
67c5af7762
swc
/
crates
/
swc_ecma_parser
/
tests
/
tsc
/
stringLiteralsWithSwitchStatements01.ts
13 lines
153 B
TypeScript
Raw
Normal View
History
Unescape
Escape
test(es/transforms): Respect directives in tsc tests (#5648)
2022-08-29 13:49:01 +03:00
let
x
:
"foo"
;
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
let
y
:
"foo"
|
"bar"
;
switch
(
x
)
{
case
"foo"
:
break
;
case
"bar"
:
break
;
case
y
:
y
;
break
;
}
Reference in New Issue
Copy Permalink