Interface ContainerOptions

Options for creating a container.

interface ContainerOptions {
    autoRegister?: boolean;
    defaultScope?: Scope;
    parent?: Container;
}

Properties

autoRegister?: boolean

Whether to automatically register a class when resolving it as a token.

false
defaultScope?: Scope

The default scope for registrations.

Scope.Inherited
parent?: Container

The parent container.

undefined