Open tcurdt opened 1 month ago
It seems like session.counter could allow for better typing compared to session.get('counter'). Any thoughts on maybe allowing for that?
session.counter
session.get('counter')
I would like to have type safe session. Also means I somehow need to extend the Session interface.
Session
This is a great idea!
I don't know how to do this currently, need to level up my Typescript skills :sweat_smile: but always accepting of PRs if someone is willing to tackle this before I get around to trying it.
It seems like
session.counter
could allow for better typing compared tosession.get('counter')
. Any thoughts on maybe allowing for that?I would like to have type safe session. Also means I somehow need to extend the
Session
interface.