結果 : typescript get type from object