Type alias ToRawFromComponent<T>

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

Type Parameters