@@ -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
|
||||
|
||||
Reference in New Issue
Block a user