File: exportDefaultInterface.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (31 lines) | stat: -rw-r--r-- 1,042 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
24
25
26
27
28
29
30
31
=== tests/cases/compiler/a.ts ===
export default interface A { value: number; }
>A : Symbol(A, Decl(a.ts, 0, 0))
>value : Symbol(A.value, Decl(a.ts, 0, 28))

var a: A;
>a : Symbol(a, Decl(a.ts, 2, 3))
>A : Symbol(A, Decl(a.ts, 0, 0))

a.value.toExponential();
>a.value.toExponential : Symbol(Number.toExponential, Decl(lib.es5.d.ts, --, --))
>a.value : Symbol(A.value, Decl(a.ts, 0, 28))
>a : Symbol(a, Decl(a.ts, 2, 3))
>value : Symbol(A.value, Decl(a.ts, 0, 28))
>toExponential : Symbol(Number.toExponential, Decl(lib.es5.d.ts, --, --))

=== tests/cases/compiler/b.ts ===
import A from './a';
>A : Symbol(A, Decl(b.ts, 0, 6))

var a: A;
>a : Symbol(a, Decl(b.ts, 2, 3))
>A : Symbol(A, Decl(b.ts, 0, 6))

a.value.toExponential();
>a.value.toExponential : Symbol(Number.toExponential, Decl(lib.es5.d.ts, --, --))
>a.value : Symbol(A.value, Decl(a.ts, 0, 28))
>a : Symbol(a, Decl(b.ts, 2, 3))
>value : Symbol(A.value, Decl(a.ts, 0, 28))
>toExponential : Symbol(Number.toExponential, Decl(lib.es5.d.ts, --, --))