You can use `extends infer X` to assign the result of an expression to a variable
type SomeFunction<U> =
SuperHeavyComputation<U> extends infer Result
? [Result, Result, Result]
: never
The trick is to use `infer X` right after the `extends` keyword
标签:use,Typescript,assignment,extends,Result,Variable,infer From: https://www.cnblogs.com/Answer1215/p/16899579.html