Type alias ServiceOptions<T>

ServiceOptions<T>: Partial<RequireExactlyOne<ServiceMetadataWithoutDeps<T>, OptionalKeys>> & Partial<Omit<ServiceMetadataWithoutDeps<T>, OptionalKeys>> & {
    dependencies?: AnyServiceDependency[];
}

The public ServiceOptions is partial object of ServiceMetadata and either one of the following is set: type, factory, value but not more than one.

Type Parameters

  • T = unknown

Type declaration

Generated using TypeDoc