結果 : typescript generic type in function