Skip to content

Correct definition of ThunkModule #128

@chhsiao1981

Description

@chhsiao1981

vscode complains that ThunkModule and ThunkModuleFunc are not compatible.

Currently it affects only registerThunk.

ThunkModuleFunc

ThunkModule

myClass: string.

ThunkModuleFunc: [action: string]: ActionFunc<S>

ThunkModule: {myClass} & ThunkModuleFunc

Need to check ts spec to have a correct definition for ThunkModule.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions