File: symbolLinkDeclarationEmitModuleNamesRootDir.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 (56 lines) | stat: -rw-r--r-- 2,500 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
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
55
56
=== tests/cases/compiler/monorepo/context/src/value-promise.d.ts ===
export type Constructor<T> = (...args: any[]) => T;
>Constructor : Symbol(Constructor, Decl(value-promise.d.ts, 0, 0))
>T : Symbol(T, Decl(value-promise.d.ts, 0, 24))
>args : Symbol(args, Decl(value-promise.d.ts, 0, 30))
>T : Symbol(T, Decl(value-promise.d.ts, 0, 24))

=== tests/cases/compiler/monorepo/context/src/bindingkey.d.ts ===
import { Constructor } from "./value-promise"
>Constructor : Symbol(Constructor, Decl(bindingkey.d.ts, 0, 8))

export declare class BindingKey<T> {
>BindingKey : Symbol(BindingKey, Decl(bindingkey.d.ts, 0, 45))
>T : Symbol(T, Decl(bindingkey.d.ts, 1, 32))

  readonly __type: T;
>__type : Symbol(BindingKey.__type, Decl(bindingkey.d.ts, 1, 36))
>T : Symbol(T, Decl(bindingkey.d.ts, 1, 32))

  static create<T extends Constructor<any>>(ctor: T): BindingKey<T>;
>create : Symbol(BindingKey.create, Decl(bindingkey.d.ts, 2, 21))
>T : Symbol(T, Decl(bindingkey.d.ts, 3, 16))
>Constructor : Symbol(Constructor, Decl(bindingkey.d.ts, 0, 8))
>ctor : Symbol(ctor, Decl(bindingkey.d.ts, 3, 44))
>T : Symbol(T, Decl(bindingkey.d.ts, 3, 16))
>BindingKey : Symbol(BindingKey, Decl(bindingkey.d.ts, 0, 45))
>T : Symbol(T, Decl(bindingkey.d.ts, 3, 16))
}

=== tests/cases/compiler/monorepo/context/index.d.ts ===

export * from "./src/value-promise";
export * from "./src/bindingkey";

=== tests/cases/compiler/monorepo/core/src/application.ts ===
import { Constructor } from "@loopback/context";
>Constructor : Symbol(Constructor, Decl(application.ts, 0, 8))

export type ControllerClass = Constructor<any>;
>ControllerClass : Symbol(ControllerClass, Decl(application.ts, 0, 48))
>Constructor : Symbol(Constructor, Decl(application.ts, 0, 8))

=== tests/cases/compiler/monorepo/core/src/usage.ts ===
import { ControllerClass } from './application';
>ControllerClass : Symbol(ControllerClass, Decl(usage.ts, 0, 8))

import { BindingKey } from '@loopback/context';
>BindingKey : Symbol(BindingKey, Decl(usage.ts, 1, 8))

export const CONTROLLER_CLASS = BindingKey.create<ControllerClass>(null as any); // line in question
>CONTROLLER_CLASS : Symbol(CONTROLLER_CLASS, Decl(usage.ts, 3, 12))
>BindingKey.create : Symbol(BindingKey.create, Decl(bindingkey.d.ts, 2, 21))
>BindingKey : Symbol(BindingKey, Decl(usage.ts, 1, 8))
>create : Symbol(BindingKey.create, Decl(bindingkey.d.ts, 2, 21))
>ControllerClass : Symbol(ControllerClass, Decl(usage.ts, 0, 8))