13 lines
208 B
TypeScript
13 lines
208 B
TypeScript
//// [ClassDeclaration21.ts]
|
|
class C {
|
|
0();
|
|
1() { }
|
|
}
|
|
|
|
//// [ClassDeclaration21.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype[1] = function () { };
|
|
return C;
|
|
}());
|