Created
May 3, 2021 08:45
-
-
Save armanozak/bf46895538fcd093bd0786094ef88489 to your computer and use it in GitHub Desktop.
[What's New in RxJS 7] Better types in functions that take n parameters #blog #rxjs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { of } from "rxjs"; | |
| // Observable<string, number> (in RxJS 6 → No overload matches this call) | |
| of(0, "A", 1, "B", 2, "C", 3, "D", 4, "E", 5, "F", 6, "G", 7, "H", 8, "I", 9, "..."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment