結果 : typescript get class type of object