ReactiveSignal: S extends Signal<unknown>
    ? S
    : S extends ReactiveSource<infer R> ? Signal<R> : never

Extracts what the signal would be from a ReactiveSource

Type Parameters