let user: User = { firstName: 'Henri', lastName: 'Bergson' }; this.storage.set('user', user).subscribe(() => {});