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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
I suggest updating the typing of the
Context
class to have a bound genericT
, e.g.This will allow using context.obj in a typed setting:
As it stands now, I will have to cast
ctx.obj
to theState
type to get type checking working:I will be happy to contribute this change if there is a go ahead.
Beta Was this translation helpful? Give feedback.
All reactions