23 lines
337 B
JavaScript
23 lines
337 B
JavaScript
|
//// [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;
|
||
|
})();
|