結果 : typescript function type in props