Construct a type with the properties of T except for those in type K.

interface ApplicationCommandNumericOptionData {
    autocomplete?: false;
    choices?: readonly ApplicationCommandOptionChoiceData<number>[];
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, null | string>>;
    max_value?: number;
    maxValue?: number;
    min_value?: number;
    minValue?: number;
    name: string;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    required?: boolean;
    type: CommandOptionNumericResolvableType;
}

Hierarchy (View Summary)

Properties

autocomplete?: false
choices?: readonly ApplicationCommandOptionChoiceData<number>[]
description: string
descriptionLocalizations?: Partial<Record<Locale, null | string>>
max_value?: number
maxValue?: number
min_value?: number
minValue?: number
name: string
nameLocalizations?: Partial<Record<Locale, null | string>>
required?: boolean