title: 'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation
body: <p>The first snippet is the code im working with and below is the error it throws and it happens on every &quot;yield select&quot; portion that is in the code and im not sure what my next step is.</p>
  <pre><code>function* onLoadingDomainsresult() {
    const pathname = yield select(getPathname);
  
    interface Params {
      hastag: string;
    }
  
  'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation.  TS7057
  
      113 | 
      114 | function* onLoadingDomainsresult() {
    &gt; 115 |   const pathname = yield select(getPathname);
          |                    ^
      116 | 
      117 |   interface Params {
      118 |     hastag: string;
  </code></pre>