Skip to content

Instantly share code, notes, and snippets.

Created December 22, 2022 21:16
What would you like to do?
import { createEntities, Entities } from "@ssougnez/ng-store";
import { Pokemon } from "../models/pokemon.model";
export type AppState = {
pokemons: Entities<Pokemon>;
export const initial: AppState = {
pokemons: createEntities<Pokemon>([], ['type'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment