pixiebrix-extension
pixiebrix-extension copied to clipboard
Fix uses of Dispatch type default generic
Context
- https://github.com/pixiebrix/pixiebrix-extension/pull/9332#discussion_r1813455878
- The default generic for Dispatch is
anywhich 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