13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
//// [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;
|