結果 : typescript if variable exists