mode_edit code API / rxjs/index FactoryOrValue type-alias stable type FactoryOrValue<T> = T | (() => T);