結果 : typescript infer return type of function