title: How do I return list/value from ionic2/3 storage
body: <p>I know this probably isn't the 100% right way to do this, so advice for cleanup is also welcome.</p>
  
  <p>Just learning/getting used to Ionic2 and I'm having trouble returning the Storage Item.</p>
  
  <p><strong>Service:</strong></p>
  
  <pre><code>import { Injectable } from "@angular/core";
  import { Storage } from '@ionic/storage';
  
  @Injectable()
  export class LocationItemService {
    locationItems: LocationItem[] = [];
  
    constructor(
      private storage: Storage
    ) {}
  
    getListItems(id): Promise&lt;LocationItem[]&gt; {
      this.storage.get("Location_Items_" + id).then((val) =&gt; {
        // This does console out the proper value.
        console.log(val);
        // Thus Promise contains the proper value.
        return Promise.resolve(val);
      });
    }
  }
  </code></pre>
  
  <p>However, when I run my application in development, I get this error: 
  "A function whose declared type is neither 'void' nor 'any' must return a value."</p>
  
  <p>Even if I set this.locationItems, I still need to return the promise so that the next function is not run until the Promise is resolved.</p>
  
  <p>I figured it had to do with the scope being inside of the storage.get, instead of directly within the function itself, and have tried a few workarounds to no avail.  Thank you for whatever input you may have!</p>