File: prototypeOnConstructorFunctions.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (23 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
=== tests/cases/compiler/prototypeOnConstructorFunctions.ts ===
interface I1 {
>I1 : Symbol(I1, Decl(prototypeOnConstructorFunctions.ts, 0, 0))

    const: new (options?, element?) => any;
>const : Symbol(I1.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.es5.d.ts, --, --))
>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.es5.d.ts, --, --))