123456789101112131415 |
- import { Ctor } from './dependencyItem';
- import { ForwardRef } from './dependencyForwardRef';
- export declare const IdentifierDecoratorSymbol: unique symbol;
- export type IdentifierDecorator<T> = {
- [IdentifierDecoratorSymbol]: true;
- (...args: any[]): void;
- /**
- * beautify console
- */
- toString(): string;
- type: T;
- };
- export declare function isIdentifierDecorator<T>(thing: any): thing is IdentifierDecorator<T>;
- export type DependencyIdentifier<T> = string | Ctor<T> | ForwardRef<T> | IdentifierDecorator<T>;
- export type NormalizedDependencyIdentifier<T> = Exclude<DependencyIdentifier<T>, ForwardRef<T>>;
|