Skip to main content
Back to course
Log in
Get started
Someone wanted to learn this too, so Grasp built them a personal learning path.
Create your own
Modern JS framework with TypeScript
ยท
Module 4
Pipeable Operators: Transformation & Filtering
1
Type-Safe Map Operator with Output Type Inference
Implement and test a type-safe `map` operator function that correctly infers its output type from the projection function's return type.
Implement and test a type-safe `map` operator function that correctly infers its output type from the projection function's return type.
2
Type-Safe Filter Operator with Type Predicates
Implement and test a type-safe `filter` operator function, using a type predicate in the filter function to narrow the output observable's type.
Implement and test a type-safe `filter` operator function, using a type predicate in the filter function to narrow the output observable's type.
3
Type-Safe Scan Operator Implementation
Implement and test a type-safe `scan` operator function, ensuring the accumulator's type is correctly inferred and maintained.
Implement and test a type-safe `scan` operator function, ensuring the accumulator's type is correctly inferred and maintained.
4
Implementing and Testing the `tap` Operator
Implement and test a `tap` operator for performing side effects (e.g., logging) without altering the stream.
Implement and test a `tap` operator for performing side effects (e.g., logging) without altering the stream.
Previous module
Observable Creation and Composition
Next module
Pipeable Operators: Combination & Timing