UNPKG

@ynmstudio/utils

Version:
10 lines (7 loc) 230 B
import { Signal } from '@angular/core'; import { Observable } from 'rxjs'; declare function toSignalWithError<T>(obs$: Observable<T>): { value: Signal<T | undefined>; error: Signal<any>; }; export { toSignalWithError };