14 lines
324 B
JavaScript
14 lines
324 B
JavaScript
//// [assignToObjectTypeWithPrototypeProperty.ts]
|
|
class XEvent {}
|
|
var p: XEvent = XEvent.prototype;
|
|
var x: {prototype: XEvent} = XEvent;
|
|
|
|
//// [assignToObjectTypeWithPrototypeProperty.js]
|
|
var XEvent = (function () {
|
|
function XEvent() {
|
|
}
|
|
return XEvent;
|
|
})();
|
|
var p = XEvent.prototype;
|
|
var x = XEvent;
|