I learned more about Proxies and TypeScript helpers to develop and properly type this:
Proxy get, set, apply, TS' infer, keyof, ReturnType<Type>, etc — it's MAGIC!
get
set
apply
infer
keyof
ReturnType<Type>
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I learned more about Proxies and TypeScript helpers to develop and properly type this:
Turn a Stream of Objects into an Object of Streams
Kostia Palchyk ・ Sep 18 ・ 2 min read
Proxy
get
,set
,apply
, TS'infer
,keyof
,ReturnType<Type>
, etc — it's MAGIC!