23 lines
966 B
Text
23 lines
966 B
Text
=== tests/cases/compiler/prototypeOnConstructorFunctions.ts ===
|
|
interface I1 {
|
|
>I1 : Symbol(I1, Decl(prototypeOnConstructorFunctions.ts, 0, 0))
|
|
|
|
const: new (options?, element?) => any;
|
|
>const : Symbol(const, Decl(prototypeOnConstructorFunctions.ts, 0, 14))
|
|
>options : Symbol(options, Decl(prototypeOnConstructorFunctions.ts, 1, 16))
|
|
>element : Symbol(element, Decl(prototypeOnConstructorFunctions.ts, 1, 25))
|
|
}
|
|
|
|
|
|
var i: I1;
|
|
>i : Symbol(i, Decl(prototypeOnConstructorFunctions.ts, 5, 3))
|
|
>I1 : Symbol(I1, Decl(prototypeOnConstructorFunctions.ts, 0, 0))
|
|
|
|
|
|
i.const.prototype.prop = "yo";
|
|
>i.const.prototype : Symbol(Function.prototype, Decl(lib.d.ts, 249, 48))
|
|
>i.const : Symbol(I1.const, Decl(prototypeOnConstructorFunctions.ts, 0, 14))
|
|
>i : Symbol(i, Decl(prototypeOnConstructorFunctions.ts, 5, 3))
|
|
>const : Symbol(I1.const, Decl(prototypeOnConstructorFunctions.ts, 0, 14))
|
|
>prototype : Symbol(Function.prototype, Decl(lib.d.ts, 249, 48))
|
|
|