The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Understanding Generics with RxJS

Understanding Generics with RxJS

7:12
Libraries such as RxJS use generics heavily in their definition files to describe how types flow through different interfaces and function calls. We can provide our own type information when we create Observables to enable all of the auto-complete & type-safety features that you would expect from Typescript. This can be achieved with minimal annotations thanks to the power of generics.
Watch this lesson now
Avatar
egghead.io

Libraries such as RxJS use generics heavily in their definition files to describe how types flow through different interfaces and function calls. We can provide our own type information when we create Observables to enable all of the auto-complete & type-safety features that you would expect from Typescript. This can be achieved with minimal annotations thanks to the power of generics.

Avatar
Jeremy

Very useful video, thanks !

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?