Skip to content

feat(typings): add intersection type for injected props#164

Merged
developit merged 3 commits intodevelopit:masterfrom
metonym:master
Oct 17, 2019
Merged

feat(typings): add intersection type for injected props#164
developit merged 3 commits intodevelopit:masterfrom
metonym:master

Conversation

@metonym
Copy link
Contributor

@metonym metonym commented Jul 31, 2019

Changes

Update preact.d.ts and react.d.ts to pass the intersection of T (wrapped props) and I (injected props) to the Class component.

Resolves #137 .

@developit developit merged commit 9bef372 into developit:master Oct 17, 2019
@developit
Copy link
Owner

Thanks for getting to the bottom of this :)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type check errors when using StateMapper and actions

2 participants