interface RegisterOptions
Since 0.1.0

Options accepted when registering a service.

Properties

readonly
optional
override: boolean

Replace an existing registration. Without this flag, registering an already-registered token throws.

readonly
optional
multi: boolean

Allow multiple providers for the same token; consumers retrieve them with IServiceRegistry.getAll.

Usage

import { type RegisterOptions } from "common/src/index.ts";