questions/00189-easy-awaited/README.md
If we have a type which is a wrapped type like Promise, how can we get the type which is inside the wrapped type?
For example: if we have Promise<ExampleType> how to get ExampleType?
type ExampleType = Promise<string>
type Result = MyAwaited<ExampleType> // string
<!--info-footer-start-->This question is ported from the original article by @maciejsikora
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/189/answer" target="_blank"></a> <a href="https://tsch.js.org/189/solutions" target="_blank"></a> <!--info-footer-end-->