Closed iceBear67 closed 2 years ago
<S extends IState> getState / setState would be better.
<S extends IState> getState / setState
no. Type Parameters led to more type-system problems and they're breaking readability.
Instead, Developers should override getState with a new return type instead.
getState
<S extends IState> getState / setState
would be better.