UNPKG

@datorama/akita

Version:

A Reactive State Management Tailored-Made for JS Applications

13 lines (12 loc) 350 B
import { ActiveState, EntityState, EntityStore, ID } from '..'; export declare type TestBook = { id: ID; title: string; price: number; }; export interface TestBooksState extends EntityState<TestBook>, ActiveState { filter: string; } export declare class BooksStore extends EntityStore<TestBooksState, TestBook> { constructor(); }