結果 : typescript get values of array as type