title: Warning error when using Enzyme inside beforeEach in Typescript
body: <p>This is my code right now: </p>
  
  <pre><code>const Component = () =&gt; (
    &lt;Provider store={storeRedux}&gt;
      &lt;BrowserRouter&gt;
        &lt;Context.Provider value={...}}&gt;
          &lt;Mode { ...props } /&gt;
        &lt;/Context.Provider&gt;
      &lt;/BrowserRouter&gt;
    &lt;/Provider&gt;
  );
  </code></pre>
  
  <p>There is no error in that code but the warning is in this part below:</p>
  
  <pre><code>  describe('Test Parent', () =&gt; {
    let wrapper;
    beforeEach(() =&gt; {
        wrapper = mount(&lt;Component /&gt;);
      });
      afterEach(() =&gt; {
        wrapper.unmount();
      });
    })
  //Variable 'wrapper' implicitly has type 'any' in some locations where its type cannot be determined.ts(7034)
  </code></pre>
  
  <p>The test is working but is there any workarounds here to make the warning go away?</p>