2014-07-13 01:04:16 +02:00
|
|
|
//// [ClassDeclaration22.ts]
|
|
|
|
class C {
|
|
|
|
"foo"();
|
|
|
|
"bar"() { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [ClassDeclaration22.js]
|
|
|
|
var C = (function () {
|
|
|
|
function C() {
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
C.prototype["bar"] = function () { };
|
2014-07-13 01:04:16 +02:00
|
|
|
return C;
|
|
|
|
})();
|