Skip to content

Commit bd879b1

Browse files
committed
revert to any type
1 parent 7829f6d commit bd879b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-datalist-input",
3-
"version": "3.2.0-next-1",
3+
"version": "3.2.0-next-2",
44
"description": "react-datalist-input provides a React datalist/combobox component called DatalistInput. The component contains an input field with a dropdown menu of suggestions based on the current input.",
55
"main": "dist/index.js",
66
"module": "dist/index.es.js",

src/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@ function useInternalSelectedItem(item?: Item): [Item | undefined, (item: Item) =
541541
return [selectedItem, setSelectedItem];
542542
}
543543

544-
type Item = Record<string, unknown> & {
544+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
545+
type Item = any & {
545546
id: string;
546547
value: string; // Used for filtering. Used for displaying and highlighting if node not provided.
547548
node?: ReactNode; // Used for display.

0 commit comments

Comments
 (0)