downlevel-dts
downlevel-dts copied to clipboard
Downlevel Awaited
Typescript 4.5 has introduced the Awaited type, which recursively extracts the value inside a promise.
After some research, I discovered that this syntax uses Recursive Conditional Types which were introduced in version 4.1. Thus, it won't work for versions that are lower than 4.1.
I'm not sure how to proceed from here. Thoughts?