File: moduleResolutionWithExtensions.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 (30 lines) | stat: -rw-r--r-- 842 bytes parent folder | download | duplicates (3)
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
=== /src/a.ts ===
export default 0;
No type information for this code.
No type information for this code.// No extension: '.ts' added
No type information for this code.=== /src/b.ts ===
import a from './a';
>a : Symbol(a, Decl(b.ts, 0, 6))

// '.js' extension: stripped and replaced with '.ts'
=== /src/d.ts ===
import a from './a.js';
>a : Symbol(a, Decl(d.ts, 0, 6))

=== /src/jquery.d.ts ===
declare var x: number;
>x : Symbol(x, Decl(jquery.d.ts, 0, 11))

export default x;
>x : Symbol(x, Decl(jquery.d.ts, 0, 11))

// No extension: '.d.ts' added
=== /src/jquery_user_1.ts ===
import j from "./jquery";
>j : Symbol(j, Decl(jquery_user_1.ts, 0, 6))

// '.js' extension: stripped and replaced with '.d.ts'
=== /src/jquery_user_1.ts ===
import j from "./jquery.js"
>j : Symbol(j, Decl(jquery_user_1.ts, 0, 6))