Done
Some checks failed
Lint / lint (push) Failing after 9s

This commit is contained in:
Julien Valverdé
2025-01-14 15:40:02 +01:00
parent cf0951039c
commit f50adbf119
2 changed files with 6 additions and 2 deletions

View File

@@ -119,6 +119,9 @@ export class Reffuse<
}
// TODO: allow passing runtime
export const make = <R = never>(): Reffuse<R> =>
export const make = <R = never>(): Reffuse<never, R, R> =>
new Reffuse(Runtime.defaultRuntime)
export const makeWithRuntime = <R = never>() =>
<RuntimeR>(runtime: Runtime.Runtime<RuntimeR>): Reffuse<RuntimeR, R, R> =>
new Reffuse(runtime)

View File

@@ -1 +1,2 @@
export * as Reffuse from "./Reffuse.js"
export * as ReffuseReactContext from "./ReffuseReactContext.js"