// @currentDirectory: monorepo/core // @filename: monorepo/context/src/value-promise.d.ts export type Constructor = (...args: any[]) => T; // @filename: monorepo/context/src/bindingkey.d.ts import { Constructor } from "./value-promise" export declare class BindingKey { readonly __type: T; static create>(ctor: T): BindingKey; } // @filename: monorepo/context/index.d.ts export * from "./src/value-promise"; export * from "./src/bindingkey"; // @filename: monorepo/core/tsconfig.json { "compilerOptions": { "rootDir": ".", "declaration": true, "outDir": "./dist" } } // @filename: monorepo/core/src/application.ts import { Constructor } from "@loopback/context"; export type ControllerClass = Constructor; // @filename: monorepo/core/src/usage.ts import { ControllerClass } from './application'; import { BindingKey } from '@loopback/context'; export const CONTROLLER_CLASS = BindingKey.create(null as any); // line in question // @link: tests/cases/compiler/monorepo/context -> tests/cases/compiler/monorepo/core/node_modules/@loopback/context