8 lines
130 B
TypeScript
8 lines
130 B
TypeScript
|
declare function print(s: string): void;
|
||
|
function foo(x: any) {
|
||
|
switch(x) {
|
||
|
case 1: return;
|
||
|
default:
|
||
|
}
|
||
|
print('1');
|
||
|
}
|