Skip to content

RegisterOptions · Core API

type RegisterOptions = object;

Options for provider registration.

readonly optional allowOverride?: boolean;

Replace an existing provider for the same token.

Overriding an already resolved disposable singleton is rejected to avoid dropping resources without running their cleanup hook.