Skip to content

TypeScript: StoreGroup#getState interface #71

@azu

Description

@azu

From #68

+    getState<T>(): T {
+        return (this._storeGroup as any).getState(); // TODO: remove casting `any`

@saneyuki said
I thought to introduce some new interfaces which is implemented by StoreGroup or Store to fix it.
Perhaps is it not a right way?

We should resolve this TODO issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions