You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless I'm missing some kind of constraint on A in the Generic case that Typescript is able to use in the concrete case to work out the types correctly?
The text was updated successfully, but these errors were encountered:
Trying to give better types to the redux library. Came across this issue. The issue appears to be the reindexing via
keyof A
at the end.TypeScript Version: 2.7.0-dev.201xxxxx
Code
Expected behavior:
Concrete and GenericConcrete have the same type
Actual behavior:
Concrete has the correct type
GenericConcrete has the wrong type
Unless I'm missing some kind of constraint on A in the Generic case that Typescript is able to use in the concrete case to work out the types correctly?
The text was updated successfully, but these errors were encountered: