Created
July 28, 2019 12:56
-
-
Save webmasterdevlin/9b71fcdf6f19f494a6e9b9551579c7ab to your computer and use it in GitHub Desktop.
Akita Model: src/app/heroes/hero.model.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ID, EntityState } from '@datorama/akita'; | |
export type HeroModel = { | |
id: ID; | |
firstName: string; | |
lastName: string; | |
house: string; | |
knownAs: string; | |
}; | |
export interface HeroesState extends EntityState<HeroModel> {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment