pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Fix uses of Dispatch type default generic

Open twschiller opened this issue 1 year ago • 0 comments

Context

  • https://github.com/pixiebrix/pixiebrix-extension/pull/9332#discussion_r1813455878
  • The default generic for Dispatch is any which is not type safe and doesn't handle async thunks properly

Discussion

  • Consider introducing lint rule to require a type (or overwrite the type to force callsite to provide)

Related Issues/PRs

  • https://github.com/pixiebrix/pixiebrix-extension/pull/9341/files

twschiller avatar Oct 23 '24 20:10 twschiller