Skip to content

Instantly share code, notes, and snippets.

@GrandSchtroumpf
Last active June 26, 2019 13:09
Show Gist options
  • Save GrandSchtroumpf/39945530d9bea75cd58ad69947e7b6ed to your computer and use it in GitHub Desktop.
Save GrandSchtroumpf/39945530d9bea75cd58ad69947e7b6ed to your computer and use it in GitHub Desktop.
Update Todo State
...
import { CollectionState } from 'akita-firebase';
export interface TodoState extends CollectionState<Todo> {}
@Injectable({ providedIn: 'root' })
@StoreConfig({ name: 'todo' })
export class TodoStore extends EntityStore<TodoState> {
constructor() {
super();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment