結果 : typescript infer generic type from constructor