Skip to content

Instantly share code, notes, and snippets.

@YonathanMeguira
Last active August 19, 2018 06:44
Show Gist options
  • Save YonathanMeguira/8710b93516b40754032afc8d2fecea5e to your computer and use it in GitHub Desktop.
Save YonathanMeguira/8710b93516b40754032afc8d2fecea5e to your computer and use it in GitHub Desktop.
store.ts
import { EntityState, EntityStore, StoreConfig, getInitialActiveState, ActiveState } from '@datorama/akita';
import { List } from './shopika.model';
export interface ListsState extends EntityState<List>, ActiveState { }
@StoreConfig({ name: 'lists' })
export class ListStore extends EntityStore<ListsState, List> {
constructor() {
super();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment