@codecademy/gamut
68.2.168.2.2-alpha.8940e8.0
dist/Form/SelectDropdown/utils.d.ts~
dist/Form/SelectDropdown/utils.d.tsModified+2−2
Index: package/dist/Form/SelectDropdown/utils.d.ts
===================================================================
--- package/dist/Form/SelectDropdown/utils.d.ts
+++ package/dist/Form/SelectDropdown/utils.d.ts
@@ -13,14 +13,14 @@
* @param value - The value or values to filter by
* @param optionsAreGrouped - Whether the options are grouped
* @returns Array of matching options
*/
-export declare const filterValueFromOptions: (options: SelectOptionBase[] | SelectDropdownGroup[], value: SelectDropdownProps['value'], optionsAreGrouped: boolean) => ExtendedOption[] | SelectOptionBase[];
+export declare const filterValueFromOptions: (options: SelectOptionBase[] | SelectDropdownGroup[], value: SelectDropdownProps["value"], optionsAreGrouped: boolean) => ExtendedOption[] | SelectOptionBase[];
/**
* Removes a value from the selected options array.
* Handles both single values and arrays of values to remove.
*
* @param selectedOptions - The currently selected options
* @param value - The value or values to remove
* @returns New array with the specified values removed
*/
-export declare const removeValueFromSelectedOptions: (selectedOptions: ExtendedOption[] | SelectOptionBase[], value: SelectDropdownProps['value']) => SelectOptionBase[];
+export declare const removeValueFromSelectedOptions: (selectedOptions: ExtendedOption[] | SelectOptionBase[], value: SelectDropdownProps["value"]) => SelectOptionBase[];