# In js, something like this would have worked however in ts it complains that .name property does not exist on a type of channel (meaning channel may not always have a name). console.log(`${channel?.name || 'default value'}`)