21 lines
365 B
TypeScript
21 lines
365 B
TypeScript
//// [unexpectedStatementBlockTerminator.ts]
|
|
class Foo {}
|
|
|
|
class Bar {}
|
|
case
|
|
|
|
function Goo() {return {a:1,b:2};}
|
|
|
|
|
|
//// [unexpectedStatementBlockTerminator.js]
|
|
var Foo = (function () {
|
|
function Foo() {
|
|
}
|
|
return Foo;
|
|
})();
|
|
var Bar = (function () {
|
|
function Bar() {
|
|
}
|
|
return Bar;
|
|
})();
|
|
function Goo() { return { a: 1, b: 2 }; }
|