5 lines
74 B
TypeScript
5 lines
74 B
TypeScript
class Foo { }
|
|
|
|
switch (0) {
|
|
case Foo: break; // Error expected
|
|
}
|