File: contextualTypeAny.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 (15 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
=== tests/cases/compiler/contextualTypeAny.ts ===
var x: any;
>x : Symbol(x, Decl(contextualTypeAny.ts, 0, 3))

var obj: { [s: string]: number } = { p: "", q: x };
>obj : Symbol(obj, Decl(contextualTypeAny.ts, 2, 3))
>s : Symbol(s, Decl(contextualTypeAny.ts, 2, 12))
>p : Symbol(p, Decl(contextualTypeAny.ts, 2, 36))
>q : Symbol(q, Decl(contextualTypeAny.ts, 2, 43))
>x : Symbol(x, Decl(contextualTypeAny.ts, 0, 3))

var arr: number[] = ["", x];
>arr : Symbol(arr, Decl(contextualTypeAny.ts, 4, 3))
>x : Symbol(x, Decl(contextualTypeAny.ts, 0, 3))