#Well the one you showed above come from

1 messages · Page 1 of 1 (latest)

tulip wren
#

Either way, it's not an error with my code. options IS in fact a property of APISelectMenuComponent

export interface APISelectMenuComponent extends APIBaseComponent<ComponentType.SelectMenu> {
    /**
     * A developer-defined identifier for the select menu, max 100 characters
     */
    custom_id: string;
    /**
     * The choices in the select, max 25
     */
    options: APISelectMenuOption[];
    /**
     * Custom placeholder text if nothing is selected, max 150 characters
     */
    placeholder?: string;
    /**
     * The minimum number of items that must be chosen; min 0, max 25
     *
     * @default 1
     */
    min_values?: number;
    /**
     * The maximum number of items that can be chosen; max 25
     *
     * @default 1
     */
    max_values?: number;
    /**
     * Disable the select
     *
     * @default false
     */
    disabled?: boolean;
}```
wind sleet
#

I still think you are using an outdated version of ts in that project

#

Even if you installed latest globally, you may be running a different version in that project

tulip wren
#

Running
npx tsc -v
gives
Version 4.8.4

#

in the project folder