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

interface ApplicationCommandStringOption {
    autocomplete?: false;
    choices?: readonly ApplicationCommandOptionChoiceData<string>[];
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, null | string>>;
    maxLength?: number;
    minLength?: number;
    name: string;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    required?: boolean;
    type: String;
}

Hierarchy (View Summary)

Properties

autocomplete?: false
choices?: readonly ApplicationCommandOptionChoiceData<string>[]
description: string
descriptionLocalizations?: Partial<Record<Locale, null | string>>
maxLength?: number
minLength?: number
name: string
nameLocalizations?: Partial<Record<Locale, null | string>>
required?: boolean
type: String