typescript-generics-workshop
typescript-generics-workshop copied to clipboard
Update 11-data-fetcher.solution.ts
Another way to infer Awaited<TData> is to use the generic on the .then method.
I was going through his course today and saw that, too. Not sure how he missed that.. LOL.