title: Type 'Subscription' is missing the following properties from type 'Observable<any>': _isScalar, source, operator, lift, and 6 more
body: <p>i need to return data from tow api in angular 8 .</p>
  
  <p>i create this resolver :</p>
  
  <pre><code>export class AccessLevelResolve implements Resolve&lt;any&gt;{
  
  constructor(private accessLevel: AccessLevelService) { }
  
  resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable&lt;any&gt; {
      let id = +route.paramMap.get('id');
  
      const getControllerList = this.accessLevel.getAll().pipe(
          map(
              res =&gt; {
                  if (res) {
                      return res.date;
                  }
              }
          )
      )
  
      const getRoleAccessRole = this.accessLevel.getAllWithId(id).pipe(
          map(
              res =&gt; {
                  if (res) {
                      return res.date;
                  }
              }
          )
      )
     return forkJoin(getControllerList, getRoleAccessRole).subscribe(res =&gt; {
          return {
              controllerList: res[0],
              accessRoleList: res[1]
          }
      }
      )
  
  }
  </code></pre>
  
  <p>but it show me this error :</p>
  
  <blockquote>
    <p>Type 'Subscription' is missing the following properties from type 'Observable': _isScalar, source, operator, lift, and 6 more.</p>
  </blockquote>
  
  <p><strong>whats the problem ??? how can i solve this problem ??</strong></p>