結果 : typescript check if type has property