Skip to content

Are there type definitions for TypeScript for *.funcs.ts files #23

@SoftHai

Description

@SoftHai

Hi,

creating a function with TypeScript will end in some type check "errors" for the parameters:
image

Are there TS type definitions for at least a few of the parameters (like dispatch, history, ...). Option and StateOfDispatch are types which has to be defined in the specific application, isn't it?

Actual you have to define the type definition by your own:
image

Or use a // @ts-ignore to ignore the errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions