File: pathMappingBasedModuleResolution7_node.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 (57 lines) | stat: -rw-r--r-- 1,676 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
56
57
=== c:/root/src/file1.ts ===
import {x} from "./project/file2";
>x : Symbol(x, Decl(file1.ts, 0, 8))

import {y} from "module3";
>y : Symbol(y, Decl(file1.ts, 1, 8))

declare function use(x: string);
>use : Symbol(use, Decl(file1.ts, 1, 26))
>x : Symbol(x, Decl(file1.ts, 3, 21))

use(x.toFixed());
>use : Symbol(use, Decl(file1.ts, 1, 26))
>x.toFixed : Symbol(Number.toFixed, Decl(lib.es5.d.ts, --, --))
>x : Symbol(x, Decl(file1.ts, 0, 8))
>toFixed : Symbol(Number.toFixed, Decl(lib.es5.d.ts, --, --))

use(y.toFixed());
>use : Symbol(use, Decl(file1.ts, 1, 26))
>y.toFixed : Symbol(Number.toFixed, Decl(lib.es5.d.ts, --, --))
>y : Symbol(y, Decl(file1.ts, 1, 8))
>toFixed : Symbol(Number.toFixed, Decl(lib.es5.d.ts, --, --))

=== c:/root/generated/src/project/file2.ts ===
import {a} from "module1";
>a : Symbol(a, Decl(file2.ts, 0, 8))

import {b} from "templates/module2";
>b : Symbol(b, Decl(file2.ts, 1, 8))

import {x as c} from "../file3";
>x : Symbol(c, Decl(index.d.ts, 0, 10))
>c : Symbol(c, Decl(file2.ts, 2, 8))

export let x = a + b + c;
>x : Symbol(x, Decl(file2.ts, 3, 10))
>a : Symbol(a, Decl(file2.ts, 0, 8))
>b : Symbol(b, Decl(file2.ts, 1, 8))
>c : Symbol(c, Decl(file2.ts, 2, 8))

=== c:/shared/module1/index.d.ts ===
export let a: number
>a : Symbol(a, Decl(index.d.ts, 0, 10))

=== c:/root/generated/src/templates/module2.ts ===
export let b: number;
>b : Symbol(b, Decl(module2.ts, 0, 10))

=== c:/root/src/file3/index.d.ts ===
export let x: number;
>x : Symbol(x, Decl(index.d.ts, 0, 10))

=== c:/node_modules/module3.d.ts ===
export let y: number;
>y : Symbol(y, Decl(module3.d.ts, 0, 10))