結果 : typescript extract interface from object