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

This commit is contained in:
Julien Valverdé
2025-01-11 23:36:07 +01:00
parent c4b902b110
commit 6aafadb4ad

View File

@@ -7,7 +7,7 @@ export class Reffuse<R, ER> {
constructor(
runtime: ManagedRuntime.ManagedRuntime<R, ER>
) {
this.Context = React.createContext(runtime)
this.Context = React.createContext<ManagedRuntime.ManagedRuntime<R, ER>>(null!)
this.Provider = (props: { readonly children?: React.ReactNode }) => (
<this.Context