UNPKG

447 BTypeScriptView Raw
1import { ServiceMetadata } from './service-metadata.interface';
2/**
3 * The public ServiceOptions is partial object of ServiceMetadata and either one
4 * of the following is set: `type`, `factory`, `value` but not more than one.
5 */
6export declare type ServiceOptions<T = unknown> = Omit<Partial<ServiceMetadata<T>>, 'type' | 'factory'> | Omit<Partial<ServiceMetadata<T>>, 'value' | 'factory'> | Omit<Partial<ServiceMetadata<T>>, 'value' | 'type'>;