File: pathMappingBasedModuleResolution7_classic.symbols

package info (click to toggle)
node-typescript 2.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 203,952 kB
  • ctags: 52,987
  • sloc: sh: 11; makefile: 5
file content (57 lines) | stat: -rw-r--r-- 1,634 bytes parent folder | download | duplicates (2)
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.d.ts, --, --))
>x : Symbol(x, Decl(file1.ts, 0, 8))
>toFixed : Symbol(Number.toFixed, Decl(lib.d.ts, --, --))

use(y.toFixed());
>use : Symbol(use, Decl(file1.ts, 1, 26))
>y.toFixed : Symbol(Number.toFixed, Decl(lib.d.ts, --, --))
>y : Symbol(y, Decl(file1.ts, 1, 8))
>toFixed : Symbol(Number.toFixed, Decl(lib.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(file2.ts, 2, 8))
>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.d.ts ===
export let a: number
>a : Symbol(a, Decl(module1.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.d.ts ===
export let x: number;
>x : Symbol(x, Decl(file3.d.ts, 0, 10))

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