結果 : typescript check if string is object key