結果 : typescript infer return type of generic function