Type alias ToComponentFromRaw<T>

ToComponentFromRaw<T>: T extends RawMessageActionRow
    ? MessageActionRow
    : T extends RawModalActionRow
        ? ModalActionRow
        : T extends RawTextButton
            ? TextButton
            : T extends URLButton
                ? URLButton
                : T extends RawStringSelectMenu
                    ? StringSelectMenu
                    : T extends RawUserSelectMenu
                        ? UserSelectMenu
                        : T extends RawRoleSelectMenu
                            ? RoleSelectMenu
                            : T extends RawMentionableSelectMenu
                                ? MentionableSelectMenu
                                : T extends RawChannelSelectMenu
                                    ? ChannelSelectMenu
                                    : T extends RawTextInput
                                        ? TextInput
                                        : (...) extends (...)
                                            ? (...)
                                            : (...)

Type Parameters