T extends Promise<infer R> ? R : Tだ
この型TypeScriptで標準で提供されてそうな雰囲気あるけどそんなことないのかな
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.