0.1.0 #1
@@ -119,6 +119,9 @@ export class Reffuse<
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO: allow passing runtime
|
export const make = <R = never>(): Reffuse<never, R, R> =>
|
||||||
export const make = <R = never>(): Reffuse<R> =>
|
|
||||||
new Reffuse(Runtime.defaultRuntime)
|
new Reffuse(Runtime.defaultRuntime)
|
||||||
|
|
||||||
|
export const makeWithRuntime = <R = never>() =>
|
||||||
|
<RuntimeR>(runtime: Runtime.Runtime<RuntimeR>): Reffuse<RuntimeR, R, R> =>
|
||||||
|
new Reffuse(runtime)
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
export * as Reffuse from "./Reffuse.js"
|
export * as Reffuse from "./Reffuse.js"
|
||||||
|
export * as ReffuseReactContext from "./ReffuseReactContext.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user