@@ -7,7 +7,7 @@ export class Reffuse<R, ER> {
|
|||||||
constructor(
|
constructor(
|
||||||
runtime: ManagedRuntime.ManagedRuntime<R, ER>
|
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.Provider = (props: { readonly children?: React.ReactNode }) => (
|
||||||
<this.Context
|
<this.Context
|
||||||
|
|||||||
Reference in New Issue
Block a user