File: nodeModulesImportModeDeclarationEmit1%28module%3Dnodenext%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 (38 lines) | stat: -rw-r--r-- 1,731 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
=== /index.ts ===
import type { RequireInterface } from "pkg" assert { "resolution-mode": "require" };
>RequireInterface : Symbol(RequireInterface, Decl(index.ts, 0, 13))

import type { ImportInterface } from "pkg" assert { "resolution-mode": "import" };
>ImportInterface : Symbol(ImportInterface, Decl(index.ts, 1, 13))

export interface LocalInterface extends RequireInterface, ImportInterface {}
>LocalInterface : Symbol(LocalInterface, Decl(index.ts, 1, 82))
>RequireInterface : Symbol(RequireInterface, Decl(index.ts, 0, 13))
>ImportInterface : Symbol(ImportInterface, Decl(index.ts, 1, 13))

import {type RequireInterface as Req} from "pkg" assert { "resolution-mode": "require" };
>RequireInterface : Symbol(RequireInterface, Decl(require.d.ts, 0, 0))
>Req : Symbol(Req, Decl(index.ts, 5, 8))

import {type ImportInterface as Imp} from "pkg" assert { "resolution-mode": "import" };
>Imp : Symbol(Imp, Decl(index.ts, 6, 8))

export interface Loc extends Req, Imp {}
>Loc : Symbol(Loc, Decl(index.ts, 6, 87))
>Req : Symbol(Req, Decl(index.ts, 5, 8))
>Imp : Symbol(Imp, Decl(index.ts, 6, 8))

export type { RequireInterface } from "pkg" assert { "resolution-mode": "require" };
>RequireInterface : Symbol(RequireInterface, Decl(index.ts, 9, 13))

export type { ImportInterface } from "pkg" assert { "resolution-mode": "import" };
>ImportInterface : Symbol(ImportInterface, Decl(index.ts, 10, 13))

=== /node_modules/pkg/import.d.ts ===
export interface ImportInterface {}
>ImportInterface : Symbol(ImportInterface, Decl(import.d.ts, 0, 0))

=== /node_modules/pkg/require.d.ts ===
export interface RequireInterface {}
>RequireInterface : Symbol(RequireInterface, Decl(require.d.ts, 0, 0))