-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I've tried rx-simple-store with angular4 and it work very well, except one thing, I cannot get rxjs operators to work with the store class.
import { Component } from '@angular/core'
import { AppStore } from './store'
import 'rxjs/add/operator/map'
@Component({
selector: 'app',
template: 'app component',
})
export class AppComponent {
constructor(private store: AppStore) {
this.store
.map(x => x.item)
.subscribe(x => {
console.log(x)
})
}
}this will raise an error:
Property 'map' does not exist on type 'AppStore'
The installed version is ^0.3.0
Please advice,
Thanks
Metadata
Metadata
Assignees
Labels
No labels