title: How to input Promise string value into an object
body: <p>In the code below</p>
  <pre><code>const getOptionName = async(id): Promise&lt;void&gt; =&gt; {
    const data = await dealStore.findById(id)
    console.log('data.optionName', data.optionName)
    console.log('typeof(data.optionName)', typeof(data.optionName))
  
    return data.optionName
  }
  
  const openRemoveDialog = (): void =&gt; {
    const checkedItems = grid1.current.getCustomCheckedList().map(item =&gt; {
      return {
        optionName: getOptionName(item.id),
        channelName: item?.channelName,
        name: item?.name,
        id: item.id,
      }
    })
    console.log('checkedItems', checkedItems)
  }
  </code></pre>
  <p>My <code>console.log('data.optionName', data.optionName)</code> outputs</p>
  <pre><code>data.optionName 딜 옵션명 테스트
  </code></pre>
  <p>My <code>console.log('typeof(data.optionName)', typeof (data.optionName))</code> outputs</p>
  <pre><code>typeof(data.optionName) string
  </code></pre>
  <p>My <code>console.log('checkedItems', checkedItems)</code> gives the following output</p>
  <p><a href="https://i.stack.imgur.com/1FTED.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1FTED.png" alt="enter image description here" /></a></p>
  <p>I am confused why my <code>optionName</code> value is a <code>Promise</code> instead of a string when <code>console.log('typeof(data.optionName)', typeof (data.optionName))</code> shows me that <code>data.optionName</code> is a <code>string</code></p>
  <p>I want my <code>optionName</code> value to be a <code>string</code> and not a <code>Promise</code>. How do I input the <code>PromiseResult</code> <code>string</code> value into my <code>optionName</code>?</p>