Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interfere return type in .case doesn't work #20

Open
@MistyKuu

Description

@MistyKuu

Hey, I just tried to use the library but unfortunately there is no type check in .case method for return value.

If I implement my reducer like this:

const execute = (execute: Execute, action: ReduxAction): Execute => {  if (isType(action, actions.calibrationSettingsDone)) return { ...execute, settings: action.payload.result };...

it will not allow me to return settings1 property because it doesn't exist in Execute model and it's fine however in your library it's completely fine to return any object.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp