Returns an instance of ApplicationCommandOptionType with ApplicationCommandOptionType.type equal to the specified type.