Stone.js API
    Preparing search index...

    Type Alias StoreClass<State>

    StoreClass: new (...args: any[]) => IStore<State>

    A store written as a class: a feature's state and the actions that move it, together.

    The container builds it, so its constructor is auto-wired like any other class. That is what a data definition cannot express and the reason the class form exists: a competition module has its client, its service and its store, and the store's actions call the client.

    Type Parameters

    • State extends Record<string, any> = Record<string, any>