In the code below

```
const getOptionName = async(id): Promise<void> => {
  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 => {
  const checkedItems = grid1.current.getCustomCheckedList().map(item => {
    return {
      optionName: getOptionName(item.id),
      channelName: item?.channelName,
      name: item?.name,
      id: item.id,
    }
  })
  console.log('checkedItems', checkedItems)
}

```

My `console.log('data.optionName', data.optionName)` outputs

```
data.optionName 딜 옵션명 테스트

```

My `console.log('typeof(data.optionName)', typeof (data.optionName))` outputs

```
typeof(data.optionName) string

```

My `console.log('checkedItems', checkedItems)` gives the following output

[![enter image description here](https://i.stack.imgur.com/1FTED.png)](https://i.stack.imgur.com/1FTED.png)

I am confused why my `optionName` value is a `Promise` instead of a string when `console.log('typeof(data.optionName)', typeof (data.optionName))` shows me that `data.optionName` is a `string`

I want my `optionName` value to be a `string` and not a `Promise`. How do I input the `PromiseResult` `string` value into my `optionName`?