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

interface ApplicationCommandAutocompleteNumericOption {
    autocomplete: true;
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, null | string>>;
    maxValue?: number;
    minValue?: number;
    name: string;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    required?: boolean;
    type: CommandOptionNumericResolvableType;
}

Hierarchy (View Summary)

Properties

autocomplete: true
description: string
descriptionLocalizations?: Partial<Record<Locale, null | string>>
maxValue?: number
minValue?: number
name: string
nameLocalizations?: Partial<Record<Locale, null | string>>
required?: boolean