21 lines
332 B
TypeScript
21 lines
332 B
TypeScript
//// [staticPrototypeProperty.ts]
|
|
class C {
|
|
static prototype() { }
|
|
}
|
|
|
|
class C2 {
|
|
static prototype;
|
|
}
|
|
|
|
//// [staticPrototypeProperty.js]
|
|
var C = (function () {
|
|
function C() {
|
|
}
|
|
C.prototype = function () { };
|
|
return C;
|
|
})();
|
|
var C2 = (function () {
|
|
function C2() {
|
|
}
|
|
return C2;
|
|
})();
|