13 lines
234 B
TypeScript
13 lines
234 B
TypeScript
//// [ClassDeclaration22.ts]
|
|
class C {
|
|
"foo"();
|
|
"bar"() { }
|
|
}
|
|
|
|
//// [ClassDeclaration22.js]
|
|
var C = /** @class */ (function () {
|
|
function C() {
|
|
}
|
|
C.prototype["bar"] = function () { };
|
|
return C;
|
|
}());
|