18 lines
896 B
Plaintext
18 lines
896 B
Plaintext
=== tests/cases/compiler/assignToObjectTypeWithPrototypeProperty.ts ===
|
|
class XEvent {}
|
|
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
|
|
|
|
var p: XEvent = XEvent.prototype;
|
|
>p : Symbol(p, Decl(assignToObjectTypeWithPrototypeProperty.ts, 1, 3))
|
|
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
|
|
>XEvent.prototype : Symbol(XEvent.prototype)
|
|
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
|
|
>prototype : Symbol(XEvent.prototype)
|
|
|
|
var x: {prototype: XEvent} = XEvent;
|
|
>x : Symbol(x, Decl(assignToObjectTypeWithPrototypeProperty.ts, 2, 3))
|
|
>prototype : Symbol(prototype, Decl(assignToObjectTypeWithPrototypeProperty.ts, 2, 8))
|
|
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
|
|
>XEvent : Symbol(XEvent, Decl(assignToObjectTypeWithPrototypeProperty.ts, 0, 0))
|
|
|