File: verbatimModuleSyntaxNoElisionCJS.symbols

package info (click to toggle)
node-typescript 5.0.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 459,140 kB
  • sloc: javascript: 1,972,754; makefile: 6; sh: 1
file content (54 lines) | stat: -rw-r--r-- 1,123 bytes parent folder | download
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
=== /a.ts ===
interface I {}
>I : Symbol(I, Decl(a.ts, 0, 0))

export = I;
>I : Symbol(I, Decl(a.ts, 0, 0))

=== /b.ts ===
import I = require("./a");
>I : Symbol(I, Decl(b.ts, 0, 0))

=== /c.ts ===
interface I {}
>I : Symbol(I, Decl(c.ts, 0, 0), Decl(c.ts, 0, 14))

namespace I {
>I : Symbol(I, Decl(c.ts, 0, 0), Decl(c.ts, 0, 14))

    export const x = 1;
>x : Symbol(x, Decl(c.ts, 2, 16))
}
export = I;
>I : Symbol(I, Decl(c.ts, 0, 0), Decl(c.ts, 0, 14))

=== /d.ts ===
import I = require("./c");
>I : Symbol(I, Decl(d.ts, 0, 0))

import type J = require("./c");
>J : Symbol(J, Decl(d.ts, 0, 26))

export = J;
>J : Symbol(J, Decl(d.ts, 0, 26))

=== /e.d.ts ===
interface I {}
>I : Symbol(I, Decl(e.d.ts, 0, 0))

export = I;
>I : Symbol(I, Decl(e.d.ts, 0, 0))

=== /f.ts ===
import type I = require("./e");
>I : Symbol(I, Decl(f.ts, 0, 0), Decl(f.ts, 1, 5))

const I = {};
>I : Symbol(I, Decl(f.ts, 0, 0), Decl(f.ts, 1, 5))

export = I;
>I : Symbol(I, Decl(f.ts, 0, 0), Decl(f.ts, 1, 5))

=== /z.ts ===

// test harness is weird if the last file includs a require >:(