File: pathMappingBasedModuleResolution6_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 (22 lines) | stat: -rw-r--r-- 691 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
=== c:/root/src/file1.ts ===
import {x} from "./project/file3";
>x : Symbol(x, Decl(file1.ts, 0, 8))

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

use(x.toExponential());
>use : Symbol(use, Decl(file1.ts, 0, 34))
>x.toExponential : Symbol(Number.toExponential, Decl(lib.d.ts, --, --))
>x : Symbol(x, Decl(file1.ts, 0, 8))
>toExponential : Symbol(Number.toExponential, Decl(lib.d.ts, --, --))

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

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