You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
373 B
11 lines
373 B
import Instantiable from './Instantiable.ts'
|
|
import {StaticClass} from './StaticClass.ts'
|
|
const DEPENDENCY_KEYS_METADATA_KEY = 'daton:di:dependencyKeys.ts'
|
|
|
|
/**
|
|
* Type used to represent a value that can identify a factory in the container.
|
|
*/
|
|
type DependencyKey = Instantiable<any> | StaticClass<any, any> | string
|
|
|
|
export { DependencyKey, DEPENDENCY_KEYS_METADATA_KEY }
|