@cycle/run
Advanced tools
Comparing version 5.2.0-rc.3 to 5.2.0-rc.4
import { CycleProgram, DisposeFunction, Drivers, MatchingDrivers, MatchingMain, Engine } from './types'; | ||
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine, ToStream, } from './types'; | ||
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine, WidenStream, GetValidInputs, } from './types'; | ||
/** | ||
@@ -4,0 +4,0 @@ * A function that prepares the Cycle application to be executed. Takes a `main` |
@@ -34,2 +34,7 @@ import { Stream } from 'xstream'; | ||
}); | ||
/** | ||
* For whatever reason, this does not work with RxJS observables, | ||
* this for this reason, `MatchingDrivers` has to be redefined | ||
* in @cycle/rxjs-run- | ||
*/ | ||
export declare type ToStream<S> = S extends FantasyObservable<infer T> ? Stream<T> : S; | ||
@@ -36,0 +41,0 @@ export declare type WidenStream<S, U> = S extends Stream<infer T> ? (T extends U ? U : never) : any; |
import { CycleProgram, DisposeFunction, Drivers, MatchingDrivers, MatchingMain, Engine } from './types'; | ||
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine, ToStream, } from './types'; | ||
export { FantasyObserver, FantasySubscription, FantasyObservable, DevToolEnabledSource, Sources, Sinks, SinkProxies, Driver, Drivers, DisposeFunction, MatchingDrivers, MatchingMain, Main, CycleProgram, Engine, WidenStream, GetValidInputs, } from './types'; | ||
/** | ||
@@ -4,0 +4,0 @@ * A function that prepares the Cycle application to be executed. Takes a `main` |
@@ -34,2 +34,7 @@ import { Stream } from 'xstream'; | ||
}); | ||
/** | ||
* For whatever reason, this does not work with RxJS observables, | ||
* this for this reason, `MatchingDrivers` has to be redefined | ||
* in @cycle/rxjs-run- | ||
*/ | ||
export declare type ToStream<S> = S extends FantasyObservable<infer T> ? Stream<T> : S; | ||
@@ -36,0 +41,0 @@ export declare type WidenStream<S, U> = S extends Stream<infer T> ? (T extends U ? U : never) : any; |
{ | ||
"name": "@cycle/run", | ||
"version": "5.2.0-rc.3", | ||
"version": "5.2.0-rc.4", | ||
"description": "The Cycle.js run() function to use with xstream", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -36,3 +36,4 @@ import { | ||
Engine, | ||
ToStream, | ||
WidenStream, | ||
GetValidInputs, | ||
} from './types'; | ||
@@ -39,0 +40,0 @@ |
@@ -47,2 +47,7 @@ import {Stream} from 'xstream'; | ||
/** | ||
* For whatever reason, this does not work with RxJS observables, | ||
* this for this reason, `MatchingDrivers` has to be redefined | ||
* in @cycle/rxjs-run- | ||
*/ | ||
export type ToStream<S> = S extends FantasyObservable<infer T> ? Stream<T> : S; | ||
@@ -49,0 +54,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112883
2140