File: nodeModulesTripleSlashReferenceModeDeclarationEmit7%28module%3Dnode16%29.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (51 lines) | stat: -rw-r--r-- 1,757 bytes parent folder | download | duplicates (6)
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
=== /index.ts ===
// only an esm file can `import` both kinds of files
import obj1 from "./sub1/uses.js"
>obj1 : Symbol(obj1, Decl(index.ts, 1, 6))

import obj2 from "./sub2/uses.js"
>obj2 : Symbol(obj2, Decl(index.ts, 2, 6))

export default [obj1, obj2.default] as const;
>obj1 : Symbol(obj1, Decl(index.ts, 1, 6))
>obj2.default : Symbol(obj2.default, Decl(uses.ts, 0, 0))
>obj2 : Symbol(obj2, Decl(index.ts, 2, 6))
>default : Symbol(obj2.default, Decl(uses.ts, 0, 0))
>const : Symbol(const)

=== /node_modules/pkg/import.d.ts ===
export {};
declare global {
>global : Symbol(global, Decl(import.d.ts, 0, 10))

    interface ImportInterface { _i: any; }
>ImportInterface : Symbol(ImportInterface, Decl(import.d.ts, 1, 16))
>_i : Symbol(ImportInterface._i, Decl(import.d.ts, 2, 31))

    function getInterI(): ImportInterface;
>getInterI : Symbol(getInterI, Decl(import.d.ts, 2, 42))
>ImportInterface : Symbol(ImportInterface, Decl(import.d.ts, 1, 16))
}
=== /node_modules/pkg/require.d.ts ===
export {};
declare global {
>global : Symbol(global, Decl(require.d.ts, 0, 10))

    interface RequireInterface { _r: any; }
>RequireInterface : Symbol(RequireInterface, Decl(require.d.ts, 1, 16))
>_r : Symbol(RequireInterface._r, Decl(require.d.ts, 2, 32))

    function getInterR(): RequireInterface;
>getInterR : Symbol(getInterR, Decl(require.d.ts, 2, 43))
>RequireInterface : Symbol(RequireInterface, Decl(require.d.ts, 1, 16))
}
=== /sub1/uses.ts ===
/// <reference types="pkg" />
export default getInterI();
>getInterI : Symbol(getInterI, Decl(import.d.ts, 2, 42))

=== /sub2/uses.ts ===
/// <reference types="pkg" />
export default getInterR();
>getInterR : Symbol(getInterR, Decl(require.d.ts, 2, 43))