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

interface ApplicationCommandAutocompleteStringOptionData {
    autocomplete: true;
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, null | string>>;
    max_length?: number;
    maxLength?: number;
    min_length?: number;
    minLength?: number;
    name: string;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    required?: boolean;
    type: String;
}

Hierarchy (View Summary)

Properties

autocomplete: true
description: string
descriptionLocalizations?: Partial<Record<Locale, null | string>>
max_length?: number
maxLength?: number
min_length?: number
minLength?: number
name: string
nameLocalizations?: Partial<Record<Locale, null | string>>
required?: boolean
type: String