File: declarationEmitCommonJsModuleReferencedType.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 (55 lines) | stat: -rw-r--r-- 2,027 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
=== tests/cases/compiler/r/node_modules/foo/node_modules/nested/index.d.ts ===
export interface NestedProps {}
>NestedProps : Symbol(NestedProps, Decl(index.d.ts, 0, 0))

=== tests/cases/compiler/r/node_modules/foo/other/index.d.ts ===
export interface OtherIndexProps {}
>OtherIndexProps : Symbol(OtherIndexProps, Decl(index.d.ts, 0, 0))

=== tests/cases/compiler/r/node_modules/foo/other.d.ts ===
export interface OtherProps {}
>OtherProps : Symbol(OtherProps, Decl(other.d.ts, 0, 0))

=== tests/cases/compiler/r/node_modules/foo/index.d.ts ===
import { OtherProps } from "./other";
>OtherProps : Symbol(OtherProps, Decl(index.d.ts, 0, 8))

import { OtherIndexProps } from "./other/index";
>OtherIndexProps : Symbol(OtherIndexProps, Decl(index.d.ts, 1, 8))

import { NestedProps } from "nested";
>NestedProps : Symbol(NestedProps, Decl(index.d.ts, 2, 8))

export interface SomeProps {}
>SomeProps : Symbol(SomeProps, Decl(index.d.ts, 2, 37))

export function foo(): [SomeProps, OtherProps, OtherIndexProps, NestedProps];
>foo : Symbol(foo, Decl(index.d.ts, 3, 29))
>SomeProps : Symbol(SomeProps, Decl(index.d.ts, 2, 37))
>OtherProps : Symbol(OtherProps, Decl(index.d.ts, 0, 8))
>OtherIndexProps : Symbol(OtherIndexProps, Decl(index.d.ts, 1, 8))
>NestedProps : Symbol(NestedProps, Decl(index.d.ts, 2, 8))

=== tests/cases/compiler/node_modules/root/index.d.ts ===
export interface RootProps {}
>RootProps : Symbol(RootProps, Decl(index.d.ts, 0, 0))

export function bar(): RootProps;
>bar : Symbol(bar, Decl(index.d.ts, 0, 29))
>RootProps : Symbol(RootProps, Decl(index.d.ts, 0, 0))

=== tests/cases/compiler/r/entry.ts ===
import { foo } from "foo";
>foo : Symbol(foo, Decl(entry.ts, 0, 8))

import { bar } from "root";
>bar : Symbol(bar, Decl(entry.ts, 1, 8))

export const x = foo();
>x : Symbol(x, Decl(entry.ts, 2, 12))
>foo : Symbol(foo, Decl(entry.ts, 0, 8))

export const y = bar();
>y : Symbol(y, Decl(entry.ts, 3, 12))
>bar : Symbol(bar, Decl(entry.ts, 1, 8))