OptionalFactoryDependency type-alias type OptionalFactoryDependency = { token: InjectionToken; optional: boolean; };