title: How can I create a Context that has a reference inside in Typescript?
body: <p>I am trying to create a context that has a reference inside it in React Native using Typescript, however, I am getting all sorts of type errors and I do not seem able to fix it. I want it to be null by default, but I'm not being able to do it.</p>
  <p><code>const WebContext: RefObject&lt;WebView&lt;{}&gt;&gt; | null = createContext(null);</code></p>
  <p>It is raising this error: <code>Property 'current' is missing in type 'Context&lt;null&gt;' but required in type 'RefObject&lt;WebView&lt;{}&gt;&gt;'.</code></p>
  <p>What am I doing wrong? How could I initialise this to null while being able to set it's value to a reference of a WebView later?</p>