Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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