Interface

InjectablesRegistry

injectable-decorators.InjectablesRegistry

Contract for a registry that manages injectable objects.

View Source registry.ts, line 120

Members

T

# build

Instantiates an injectable class using its constructor and the provided arguments.

Creates a new instance of an injectable class.

View Source registry.ts, line 151

T | undefined

# get

Retrieves an Injectable from the registry by name, optionally passing constructor arguments.

Fetches an injectable instance by its registered name.

View Source registry.ts, line 128

void

# register

Registers an injectable constructor or instance with the registry, making it available for injection.

Adds a class or object to the injectable registry.

View Source registry.ts, line 139