questions/00189-easy-awaited/README.ja.md
Promise ライクな型が内包する型をどのように取得すればよいでしょうか。
例えば:Promise<ExampleType>という型がある場合、どのようにして ExampleType を取得すればよいでしょうか。
type ExampleType = Promise<string>
type Result = MyAwaited<ExampleType> // string
<!--info-footer-start-->この問題の元記事は original article by @maciejsikora です。
<a href="../../README.ja.md" target="_blank"></a> <a href="https://tsch.js.org/189/answer/ja" target="_blank"></a> <a href="https://tsch.js.org/189/solutions" target="_blank"></a> <!--info-footer-end-->