@@ -120,6 +120,10 @@ export const asLensImpl = <A, ER, EW, RR, RW>(
|
||||
return lens as LensImpl<A, ER, EW, RR, RW>
|
||||
}
|
||||
|
||||
export const asSubscribable = <A, ER, EW, RR, RW>(
|
||||
lens: Lens<A, ER, EW, RR, RW>
|
||||
): Subscribable.Subscribable<A, ER, RR> => lens
|
||||
|
||||
|
||||
export declare namespace LensLazyImpl {
|
||||
export interface Source<in out A, in out ER = never, in out EW = never, in out RR = never, in out RW = never> {
|
||||
|
||||
@@ -83,6 +83,10 @@ export const asLensImpl = <A, ER, EW, RR, RW>(
|
||||
return lens as LensImpl<A, ER, EW, RR, RW>
|
||||
}
|
||||
|
||||
export const asSubscribable = <A, ER, EW, RR, RW>(
|
||||
lens: Lens<A, ER, EW, RR, RW>
|
||||
): Subscribable.Subscribable<A, ER, RR> => lens
|
||||
|
||||
|
||||
export declare namespace LensLazyImpl {
|
||||
export interface Source<in out A, in out ER = never, in out EW = never, in out RR = never, in out RW = never> {
|
||||
|
||||
Reference in New Issue
Block a user