19 lines
342 B
Text
19 lines
342 B
Text
=== tests/cases/conformance/es6/templates/templateStringInSwitchAndCase.ts ===
|
|
switch (`abc${0}abc`) {
|
|
>`abc${0}abc` : string
|
|
>0 : number
|
|
|
|
case `abc`:
|
|
>`abc` : string
|
|
|
|
case `123`:
|
|
>`123` : string
|
|
|
|
case `abc${0}abc`:
|
|
>`abc${0}abc` : string
|
|
>0 : number
|
|
|
|
`def${1}def`;
|
|
>`def${1}def` : string
|
|
>1 : number
|
|
}
|