-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Rework connect types and add type test setup #1766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Updated `connect` to use the entire `Connect` overload config - Fixed declaration of `wrapWithConnect` - Fixed a bunch of weird problems in the type tests file with actions, dispatch, etc - used `ts-expect-error for actual intended failures
|
Size Change: +1 kB (5%) 🔍 Total Size: 20.1 kB
ℹ️ View Unchanged
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 299824e:
|
|
✔️ Deploy Preview for react-redux-docs ready! 🔨 Explore the source changes: 299824e 🔍 Inspect the deploy log: https://app.netlify.com/sites/react-redux-docs/deploys/60e8dcd8c6e3040008f466ae 😎 Browse the preview: https://deploy-preview-1766--react-redux-docs.netlify.app |
1c34305 to
299824e
Compare
This PR:
@types/react-reduxDT package as a starting pointconnectandconnectAdvancedtypes to actually have the right function overloadsConnectedProps<T>type, and makes sure it's exportedPer #1737